Bash-4.3 distribution sources and documentation
[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 after exec1.sub: one two three
8 ./execscript: line 21: notthere: command not found
9 127
10 /tmp/bash: notthere: No such file or directory
11 127
12 /bin/sh: /bin/sh: cannot execute binary file
13 126
14 ./execscript: line 40: /: Is a directory
15 126
16 /: /: is a directory
17 126
18 ./execscript: line 47: .: /: is a directory
19 1
20 126
21 0
22 this is bashenv
23 ./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
24 127
25 ./execscript: line 71: notthere: No such file or directory
26 127
27 ./execscript: line 74: notthere: No such file or directory
28 127
29 ./execscript: line 77: notthere: command not found
30 127
31 this is sh
32 this is sh
33 unset
34 ok
35 5
36 ./exec5.sub: line 4: exec: bash-notthere: not found
37 127
38 this is ohio-state
39 0
40 1
41 1
42 0
43 42
44 42
45 0
46 1
47 1
48 0
49 0
50 1
51 0
52 1
53 testb
54 expand_aliases  on
55 1
56 1
57 1
58 1
59 0
60 0
61 0
62 0
63 after