blob: 7b152a125226fa56c9385368d8ca8c15f1c9c217 [file] [log] [blame]
Jari Aaltob72432f1999-02-19 17:11:39 +00001# See whether or not we can use `diff -a'
Chet Rameyac50fba2014-02-26 09:36:43 -05002#( diff -a ./printf.tests ./printf.tests >/dev/null 2>&1 ) && AFLAG=-a
Jari Aaltob72432f1999-02-19 17:11:39 +00003
Chet Rameyac50fba2014-02-26 09:36:43 -05004# use cat -v (and assume it's there) to make control chars visible
5${THIS_SH} ./printf.tests 2>&1 | cat -v > /tmp/xx
6#diff $AFLAG /tmp/xx printf.right && rm -f /tmp/xx
7diff /tmp/xx printf.right && rm -f /tmp/xx