gettext: Sync with gettext 0.23.
[gnulib.git] / tests / test-binary-io.sh
blob7bc5aa07f4baaa249ed96ca5188e373e8f44e17e
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
6 tmpfiles="$tmpfiles t-bin-out0.tmp t-bin-out1.tmp"
7 ${CHECKER} ./test-binary-io${EXEEXT} 1 > t-bin-out1.tmp || exit 1
8 cmp t-bin-out0.tmp t-bin-out1.tmp > /dev/null || exit 1
10 rm -fr $tmpfiles
12 exit 0