8000 minix/test/testinterp.sh at v3.2.0 · devinblood/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
14 lines (11 loc) · 232 Bytes

testinterp.sh

File metadata and controls

executable file
·
14 lines (11 loc) · 232 Bytes
#!/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"
0