summaryrefslogtreecommitdiff
path: root/gl/tests/test-binary-io.sh
blob: 272edef1798f0049106bde02773dba1115a15b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15

tmpfiles="$tmpfiles t-bin-out1.tmp t-bin-out2.tmp"
./test-binary-io${EXEEXT} > t-bin-out1.tmp || exit 1
cmp t-bin-out1.tmp t-bin-out2.tmp > /dev/null || exit 1

rm -fr $tmpfiles

exit 0