]>
Commit | Line | Data |
---|---|---|
cce855bc JA |
1 | before exec1.sub: one two three |
2 | calling exec1.sub | |
d166f048 | 3 | aa bb cc dd ee |
cce855bc | 4 | after exec1.sub with args: 0 |
d166f048 | 5 | |
cce855bc | 6 | after exec1.sub without args: 0 |
d166f048 JA |
7 | ./execscript: notthere: command not found |
8 | 127 | |
9 | notthere: notthere: No such file or directory | |
10 | 127 | |
11 | /bin/sh: /bin/sh: cannot execute binary file | |
12 | 126 | |
13 | ./execscript: /: is a directory | |
14 | 126 | |
15 | /: /: cannot execute binary file | |
16 | 126 | |
17 | ./execscript: .: /: is a directory | |
18 | 1 | |
28ef6c31 | 19 | 127 |
d166f048 JA |
20 | ./execscript: .: /dev/null: not a regular file |
21 | 1 | |
22 | this is bashenv | |
cce855bc JA |
23 | ./exec3.sub: /tmp/bash-notthere: No such file or directory |
24 | ./exec3.sub: exec: /tmp/bash-notthere: cannot execute: No such file or directory | |
d166f048 JA |
25 | 126 |
26 | ./execscript: notthere: No such file or directory | |
27 | 127 | |
28 | ./execscript: notthere: No such file or directory | |
29 | 127 | |
30 | ./execscript: notthere: No such file or directory | |
31 | 127 | |
32 | this is sh | |
33 | this is sh | |
34 | unset | |
35 | ok | |
36 | 5 | |
cce855bc JA |
37 | ./exec5.sub: exec: bash-notthere: not found |
38 | 127 | |
39 | this is ohio-state | |
28ef6c31 JA |
40 | 0 |
41 | 1 | |
42 | 1 | |
43 | 0 | |
44 | 42 | |
45 | 42 | |
46 | 0 | |
47 | 1 | |
48 | 1 | |
49 | 0 | |
50 | 0 | |
51 | 1 | |
52 | 0 | |
53 | 1 |