]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/run-printf
Bash-4.4 patch 19
[thirdparty/bash.git] / tests / run-printf
CommitLineData
b72432fd 1# See whether or not we can use `diff -a'
ac50fbac 2#( diff -a ./printf.tests ./printf.tests >/dev/null 2>&1 ) && AFLAG=-a
b72432fd 3
ac50fbac 4# use cat -v (and assume it's there) to make control chars visible
a0c0a00f
CR
5${THIS_SH} ./printf.tests 2>&1 | cat -v > ${BASH_TSTOUT}
6#diff $AFLAG ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT}
7diff ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT}