556f1a160367cee8d68c44864a31e2e4f68d7197
[platform/upstream/bash.git] / tests / exec.right
1 before exec1.sub: one two three
2 calling exec1.sub
3 aa bb cc dd ee
4 after exec1.sub with args: 0
5
6 after exec1.sub without args: 0
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
19 127
20 ./execscript: .: /dev/null: not a regular file
21 1
22 this is bashenv
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
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
37 ./exec5.sub: exec: bash-notthere: not found
38 127
39 this is ohio-state
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