xref: /minix3/minix/tests/testinterp.sh (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1#!/bin/sh
2
3# See if the system can handle an unexpected whitespace-only interpreter line
4
5echo -n "Test interpreter "
6
7set -e
8TMPSH=tst$$.sh
9rm -f $TMPSH
10echo '#!   ' >$TMPSH
11chmod 755 $TMPSH
12./$TMPSH || true
13rm -f $TMPSH
14echo "ok"
15