minix/minix/tests/testinterp.sh
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

15 lines
232 B
Bash
Executable file

#!/bin/sh
# See if the system can handle an unexpected whitespace-only interpreter line
echo -n "Test interpreter "
set -e
TMPSH=tst$$.sh
rm -f $TMPSH
echo '#! ' >$TMPSH
chmod 755 $TMPSH
./$TMPSH || true
rm -f $TMPSH
echo "ok"