some coverity fixes.
[minix.git] / test / testinterp.sh
blobb00c8e0e617a9f32e93be307f282ff7fa344c331
1 #!/bin/sh
3 # See if the system can handle an unexpected whitespace-only interpreter line
5 echo -n "Test interpreter "
7 set -e
8 TMPSH=tst$$.sh
9 rm -f $TMPSH
10 echo '#! ' >$TMPSH
11 chmod 755 $TMPSH
12 ./$TMPSH || true
13 rm -f $TMPSH
14 echo "ok"