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