Debian Codegraph @

tests/user/t16

raw
1 #!/bin/bash -e
2
3 # In this test PATH_EXPDIR is a regular file
4 test -f $PATH_EXPDIR
5
6 tmpfile=`mktemp`
7 echo reading mounted file
8 ./tread "$@" $tmpfile
9 echo comparing result
10 if ! cmp $tmpfile $PATH_EXPDIR; then
11 echo results differ
12 exit 1
13 fi
14 rm -f $tmpfile
15 exit 0