summaryrefslogtreecommitdiff
path: root/minix/tests/testinterp.sh
blob: b00c8e0e617a9f32e93be307f282ff7fa344c331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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"