avoid unnecessary newline
[gnutls.git] / gl / tests / test-binary-io.sh
blobc4dd6e9295c2f40c7f41b91e95e531048a1455b6
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
6 tmpfiles="$tmpfiles t-bin-out0.tmp t-bin-out1.tmp t-bin-out2.tmp"
7 ./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
9 ./test-binary-io${EXEEXT} 2 > t-bin-out2.tmp || exit 1
10 cmp t-bin-out0.tmp t-bin-out2.tmp > /dev/null || exit 1
12 rm -fr $tmpfiles
14 exit 0