]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/builtins.right
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / tests / builtins.right
CommitLineData
cce855bc
JA
1alias: 0
2alias: 0
d166f048
JA
3a
4end-1
5a
6end-2
7a:x
8end-a
9b:x
10end-b
11c:x
12end-c
13end-3
14a:x
15end
16a
17b
18c
19end-1
20a
21b
22c
23end-2
24a:x
25a:y
26a:z
27end-a
28b:x
29b:y
30b:z
31end-b
32c:x
33c:y
34c:z
35end-c
36end-3
37a:x
38b:x
39c:x
40end
41$BVAR
42$BVAR
43$BVAR
44$BVAR
45foo
46bar
47xxx
f73dda09 480022
d166f048 49u=rwx,g=rx,o=rx
f73dda09 500002
d166f048 51u=rwx,g=rwx,o=rx
f73dda09 52umask 0002
cce855bc 53umask -S u=rwx,g=rwx,o=rx
d166f048
JA
54u=rwx,g=rwx,o=rwx
55enable .
56enable :
57enable break
58enable continue
59enable eval
60enable exec
61enable exit
62enable export
63enable readonly
64enable return
65enable set
66enable shift
67enable source
68enable trap
69enable unset
70enable .
71enable :
72enable break
73enable continue
74enable eval
75enable exec
76enable exit
77enable export
78enable readonly
79enable return
80enable set
81enable shift
82enable source
83enable trap
84enable unset
85enable -n test worked
86enable test worked
87specialname
cce855bc 88-specialname
d166f048
JA
89FOO=BAR
90FOO=BAR
91hash: hash table empty
cce855bc 920
d166f048
JA
93AVAR
94foo
95in source.sub2, calling return
965
97a b c
98a b c
99x y z
100a b c
101a b c
102m n o p
103a b c
104m n o p
105/tmp/bash-dir-a
106/tmp/bash-dir-a
107/tmp/bash-dir-a
7117c2d2 108./source5.sub: line 10: /tmp/source-notthere: No such file or directory
cce855bc 109after bad source 1
7117c2d2 110./source5.sub: line 17: /tmp/source-notthere: No such file or directory
d166f048
JA
111AVAR
112foo
113foo
114AVAR
115foo
116foo
117AVAR
118foo
cce855bc
JA
119declare -x foo=""
120declare -x FOO="\$\$"
7117c2d2 121./builtins.tests: line 219: declare: FOO: not found
cce855bc 122declare -x FOO="\$\$"
d166f048
JA
123ok
124ok
7117c2d2 125./builtins.tests: line 251: kill: 4096: invalid signal specification
d166f048 1261
bb70624e
JA
127a\n\n\nb
128a
129
130
131b
7117c2d2 132./builtins.tests: line 260: exit: status: numeric argument required