Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / none / tests / scripts / shell
blob5df2ca2031e4695c5e93905d9bf70fa9f7fca5ba
1 #! /bin/sh
3 # Testing various shell script invocations.
5 #----------------------------------------------------------------------------
6 # Shell scripts that should fail
7 #----------------------------------------------------------------------------
8 LC_ALL=C
9 echo "Execute a directory"
10 ./x86/
12 echo "Execute a non-executable file"
13 ./shell.vgtest
15 echo "Execute a script with a bad interpreter name"
16 ./shell_badinterp
18 echo "Execute a binary file"
19 ./shell_binaryfile
21 echo "Execute a non-existent file"
22 ./shell_nosuchfile
24 echo "Execute a non-existent file (2)"
25 shell_nosuchfile
27 #----------------------------------------------------------------------------
28 # Shell scripts that should pass
29 #----------------------------------------------------------------------------
30 echo "Execute a valid script with a #! line"
31 ./shell_valid1
33 echo "Execute a valid script without a #! line"
34 ./nointerp1
36 echo "Execute a valid script with #! but no interpname"
37 ./nointerp2
39 echo "Execute a zero-length file"
40 ./shell_zerolength