Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / exec.right
index 98fe41e..54488bf 100644 (file)
@@ -4,36 +4,36 @@ aa bb cc dd ee
 after exec1.sub with args: 0
 
 after exec1.sub without args: 0
-./execscript: notthere: command not found
+after exec1.sub: one two three
+./execscript: line 21: notthere: command not found
 127
-notthere: notthere: No such file or directory
+/tmp/bash: notthere: No such file or directory
 127
 /bin/sh: /bin/sh: cannot execute binary file
 126
-./execscript: /: is a directory
+./execscript: line 40: /: Is a directory
 126
-/: /: cannot execute binary file
+/: /: is a directory
 126
-./execscript: .: /: is a directory
+./execscript: line 47: .: /: is a directory
 1
-127
+126
 0
 this is bashenv
-./exec3.sub: /tmp/bash-notthere: No such file or directory
-./exec3.sub: exec: /tmp/bash-notthere: cannot execute: No such file or directory
-126
-./execscript: notthere: No such file or directory
+./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
 127
-./execscript: notthere: No such file or directory
+./execscript: line 71: notthere: No such file or directory
 127
-./execscript: notthere: No such file or directory
+./execscript: line 74: notthere: No such file or directory
+127
+./execscript: line 77: notthere: command not found
 127
 this is sh
 this is sh
 unset
 ok
 5
-./exec5.sub: exec: bash-notthere: not found
+./exec5.sub: line 4: exec: bash-notthere: not found
 127
 this is ohio-state
 0
@@ -50,3 +50,14 @@ this is ohio-state
 1
 0
 1
+testb
+expand_aliases         on
+1
+1
+1
+1
+0
+0
+0
+0
+after