3 # Testing various shell script invocations.
5 #----------------------------------------------------------------------------
6 # Shell scripts that should fail
7 #----------------------------------------------------------------------------
9 echo "Execute a directory"
12 echo "Execute a non-executable file"
15 echo "Execute a script with a bad interpreter name"
18 echo "Execute a binary file"
21 echo "Execute a non-existent file"
24 echo "Execute a non-existent file (2)"
27 #----------------------------------------------------------------------------
28 # Shell scripts that should pass
29 #----------------------------------------------------------------------------
30 echo "Execute a valid script with a #! line"
33 echo "Execute a valid script without a #! line"
36 echo "Execute a valid script with #! but no interpname"
39 echo "Execute a zero-length file"