Merge commit 'b572c3a256e7bf1e4eecc8c36448c08093240a6a' into stable
[gnulib.git] / tests / test-binary-io.sh
1 #!/bin/sh
2
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
5
6 tmpfiles="$tmpfiles t-bin-out1.tmp t-bin-out2.tmp"
7 ./test-binary-io${EXEEXT} > t-bin-out1.tmp || exit 1
8 cmp t-bin-out1.tmp t-bin-out2.tmp > /dev/null || exit 1
9
10 rm -fr $tmpfiles
11
12 exit 0