Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git] / tests / builtins.right
index 5ed2b15..30e10ca 100644 (file)
@@ -1,5 +1,3 @@
-alias: 0
-alias: 0
 a
 end-1
 a
@@ -45,11 +43,11 @@ $BVAR
 foo
 bar
 xxx
-022
+0022
 u=rwx,g=rx,o=rx
-002
+0002
 u=rwx,g=rwx,o=rx
-umask 002
+umask 0002
 umask -S u=rwx,g=rwx,o=rx
 u=rwx,g=rwx,o=rwx
 enable .
@@ -65,6 +63,7 @@ enable return
 enable set
 enable shift
 enable source
+enable times
 enable trap
 enable unset
 enable .
@@ -80,6 +79,7 @@ enable return
 enable set
 enable shift
 enable source
+enable times
 enable trap
 enable unset
 enable -n test worked
@@ -105,9 +105,18 @@ m n o p
 /tmp/bash-dir-a
 /tmp/bash-dir-a
 /tmp/bash-dir-a
-./source5.sub: /tmp/source-notthere: No such file or directory
+./source5.sub: line 10: /tmp/source-notthere: No such file or directory
 after bad source 1
-./source5.sub: /tmp/source-notthere: No such file or directory
+./source5.sub: line 17: /tmp/source-notthere: No such file or directory
+one - OK
+0
+0
+two - OK
+0
+three - OK
+0
+four - OK
+0
 AVAR
 foo
 foo
@@ -118,10 +127,15 @@ AVAR
 foo
 declare -x foo=""
 declare -x FOO="\$\$"
-./builtins.tests: declare: FOO: not found
+./builtins.tests: line 210: declare: FOO: not found
 declare -x FOO="\$\$"
 ok
 ok
-./builtins.tests: kill: bad signal number: 4096
+./builtins.tests: line 242: kill: 4096: invalid signal specification
 1
-./builtins.tests: exit: bad non-numeric arg `status'
+a\n\n\nb
+a
+
+
+b
+./builtins.tests: line 251: exit: status: numeric argument required