openat: don’t close (-1)
[gnulib.git] / tests / test-tsearch.sh
blob28539bd80f3d6a4facec63e5404b50ffe74f36b2
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
6 tmpfiles="$tmpfiles t-tsearch.out"
7 ${CHECKER} ./test-tsearch${EXEEXT} > t-tsearch.out 2>&1
8 test $? = 0 || { cat t-tsearch.out 1>&2; rm -f $tmpfiles; exit 1; }
10 rm -f $tmpfiles
12 exit 0