diff options
Diffstat (limited to 'tests/builtins.right')
-rw-r--r-- | tests/builtins.right | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/builtins.right b/tests/builtins.right index 5cf5875e..5ed2b15f 100644 --- a/tests/builtins.right +++ b/tests/builtins.right @@ -1,3 +1,5 @@ +alias: 0 +alias: 0 a end-1 a @@ -47,6 +49,8 @@ xxx u=rwx,g=rx,o=rx 002 u=rwx,g=rwx,o=rx +umask 002 +umask -S u=rwx,g=rwx,o=rx u=rwx,g=rwx,o=rwx enable . enable : @@ -81,9 +85,11 @@ enable unset enable -n test worked enable test worked specialname +-specialname FOO=BAR FOO=BAR hash: hash table empty +0 AVAR foo in source.sub2, calling return @@ -99,6 +105,9 @@ 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 +after bad source 1 +./source5.sub: /tmp/source-notthere: No such file or directory AVAR foo foo @@ -107,7 +116,12 @@ foo foo AVAR foo +declare -x foo="" +declare -x FOO="\$\$" +./builtins.tests: declare: FOO: not found +declare -x FOO="\$\$" ok ok ./builtins.tests: kill: bad signal number: 4096 1 +./builtins.tests: exit: bad non-numeric arg `status' |