]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/exec.right
bash-5.0-beta2 release
[thirdparty/bash.git] / tests / exec.right
CommitLineData
cce855bc
JA
1before exec1.sub: one two three
2calling exec1.sub
d166f048 3aa bb cc dd ee
cce855bc 4after exec1.sub with args: 0
d166f048 5
cce855bc 6after exec1.sub without args: 0
ac50fbac
CR
7after exec1.sub: one two three
8./execscript: line 21: notthere: command not found
d166f048 9127
b80f6443 10/tmp/bash: notthere: No such file or directory
d166f048
JA
11127
12/bin/sh: /bin/sh: cannot execute binary file
13126
ac50fbac 14./execscript: line 40: /: Is a directory
d166f048 15126
a0c0a00f 16/: /: Is a directory
d166f048 17126
ac50fbac 18./execscript: line 47: .: /: is a directory
d166f048 191
0001803f 20126
f73dda09 210
d166f048 22this is bashenv
7117c2d2 23./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
495aee44 24127
ac50fbac 25./execscript: line 71: notthere: No such file or directory
d166f048 26127
ac50fbac 27./execscript: line 74: notthere: No such file or directory
d166f048 28127
ac50fbac 29./execscript: line 77: notthere: command not found
d166f048
JA
30127
31this is sh
32this is sh
33unset
34ok
355
7117c2d2 36./exec5.sub: line 4: exec: bash-notthere: not found
cce855bc
JA
37127
38this is ohio-state
28ef6c31
JA
390
401
411
420
4342
4442
450
461
471
480
490
501
510
521
b80f6443 53testb
3185942a 54expand_aliases on
495aee44
CR
551
561
571
581
590
600
610
620
a0c0a00f
CR
63/usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
64cannot find cat in $TMPDIR
65cannot find cat with empty $PATH
66PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
67cannot find cat in $TMPDIR with hash
68cannot find cat with empty $PATH with hash
69PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:.
70trap -- 'echo foo $BASH_SUBSHELL' EXIT
71trap -- 'echo USR1 $BASHPID' SIGUSR1
72between
73trap -- 'echo foo $BASH_SUBSHELL' EXIT
74trap -- 'echo USR1 $BASHPID' SIGUSR1
75between 2
76trap -- 'echo foo $BASH_SUBSHELL' EXIT
77trap -- 'echo USR1 $BASHPID' SIGUSR1
78in subshell: 1
79in subshell pipeline: 1
80group pipeline: 1
81EXIT-group.1
82foo 0
95732b49 83after
a0c0a00f
CR
84exit code: 1
85exit code: 1
86exit code: 1
2ae59c11
CR
87exit code: 1
88exit code: 1
89exit code: 1
a0c0a00f
CR
90a
91b
92c
93A
94B
95c
96d
97c
98d
99e
100x1
101x1a
102x2
103x2a
104x2b
105x3
106x3a
107x3b