i-bash/tests/builtins.right

133 lines
1.4 KiB
Text
Raw Normal View History

1997-06-05 14:59:13 +00:00
a
end-1
a
end-2
a:x
end-a
b:x
end-b
c:x
end-c
end-3
a:x
end
a
b
c
end-1
a
b
c
end-2
a:x
a:y
a:z
end-a
b:x
b:y
b:z
end-b
c:x
c:y
c:z
end-c
end-3
a:x
b:x
c:x
end
$BVAR
$BVAR
$BVAR
$BVAR
foo
bar
xxx
2001-11-13 17:56:06 +00:00
0022
1997-06-05 14:59:13 +00:00
u=rwx,g=rx,o=rx
2001-11-13 17:56:06 +00:00
0002
1997-06-05 14:59:13 +00:00
u=rwx,g=rwx,o=rx
2001-11-13 17:56:06 +00:00
umask 0002
1998-04-17 19:52:44 +00:00
umask -S u=rwx,g=rwx,o=rx
1997-06-05 14:59:13 +00:00
u=rwx,g=rwx,o=rwx
enable .
enable :
enable break
enable continue
enable eval
enable exec
enable exit
enable export
enable readonly
enable return
enable set
enable shift
enable source
2005-12-07 14:08:12 +00:00
enable times
1997-06-05 14:59:13 +00:00
enable trap
enable unset
enable .
enable :
enable break
enable continue
enable eval
enable exec
enable exit
enable export
enable readonly
enable return
enable set
enable shift
enable source
2005-12-07 14:08:12 +00:00
enable times
1997-06-05 14:59:13 +00:00
enable trap
enable unset
enable -n test worked
enable test worked
specialname
1998-04-17 19:52:44 +00:00
-specialname
1997-06-05 14:59:13 +00:00
FOO=BAR
FOO=BAR
hash: hash table empty
1998-04-17 19:52:44 +00:00
0
1997-06-05 14:59:13 +00:00
AVAR
foo
in source.sub2, calling return
5
a b c
a b c
x y z
a b c
a b c
m n o p
a b c
m n o p
/tmp/bash-dir-a
/tmp/bash-dir-a
/tmp/bash-dir-a
2002-07-17 14:10:11 +00:00
./source5.sub: line 10: /tmp/source-notthere: No such file or directory
1998-04-17 19:52:44 +00:00
after bad source 1
2002-07-17 14:10:11 +00:00
./source5.sub: line 17: /tmp/source-notthere: No such file or directory
1997-06-05 14:59:13 +00:00
AVAR
foo
foo
AVAR
foo
foo
AVAR
foo
1998-04-17 19:52:44 +00:00
declare -x foo=""
declare -x FOO="\$\$"
2004-07-27 13:29:18 +00:00
./builtins.tests: line 207: declare: FOO: not found
1998-04-17 19:52:44 +00:00
declare -x FOO="\$\$"
1997-06-05 14:59:13 +00:00
ok
ok
2004-07-27 13:29:18 +00:00
./builtins.tests: line 239: kill: 4096: invalid signal specification
1997-06-05 14:59:13 +00:00
1
2000-03-17 21:46:59 +00:00
a\n\n\nb
a
b
2004-07-27 13:29:18 +00:00
./builtins.tests: line 248: exit: status: numeric argument required