]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/builtins.right
Bash-4.2 distribution sources and documentation
[thirdparty/bash.git] / tests / builtins.right
1 a
2 end-1
3 a
4 end-2
5 a:x
6 end-a
7 b:x
8 end-b
9 c:x
10 end-c
11 end-3
12 a:x
13 end
14 a
15 b
16 c
17 end-1
18 a
19 b
20 c
21 end-2
22 a:x
23 a:y
24 a:z
25 end-a
26 b:x
27 b:y
28 b:z
29 end-b
30 c:x
31 c:y
32 c:z
33 end-c
34 end-3
35 a:x
36 b:x
37 c:x
38 end
39 $BVAR
40 $BVAR
41 $BVAR
42 $BVAR
43 foo
44 bar
45 xxx
46 0022
47 u=rwx,g=rx,o=rx
48 0002
49 u=rwx,g=rwx,o=rx
50 umask 0002
51 umask -S u=rwx,g=rwx,o=rx
52 u=rwx,g=rwx,o=rwx
53 enable .
54 enable :
55 enable break
56 enable continue
57 enable eval
58 enable exec
59 enable exit
60 enable export
61 enable readonly
62 enable return
63 enable set
64 enable shift
65 enable source
66 enable times
67 enable trap
68 enable unset
69 enable .
70 enable :
71 enable break
72 enable continue
73 enable eval
74 enable exec
75 enable exit
76 enable export
77 enable readonly
78 enable return
79 enable set
80 enable shift
81 enable source
82 enable times
83 enable trap
84 enable unset
85 enable -n test worked
86 enable test worked
87 specialname
88 -specialname
89 FOO=BAR
90 FOO=BAR
91 hash: hash table empty
92 0
93 AVAR
94 foo
95 in source.sub2, calling return
96 5
97 a b c
98 a b c
99 x y z
100 a b c
101 a b c
102 m n o p
103 a b c
104 m n o p
105 /tmp/bash-dir-a
106 /tmp/bash-dir-a
107 /tmp/bash-dir-a
108 ./source5.sub: line 10: /tmp/source-notthere: No such file or directory
109 after bad source 1
110 ./source5.sub: line 17: /tmp/source-notthere: No such file or directory
111 one - OK
112 0
113 0
114 two - OK
115 0
116 three - OK
117 0
118 four - OK
119 0
120 AVAR
121 foo
122 foo
123 AVAR
124 foo
125 foo
126 AVAR
127 foo
128 declare -x foo=""
129 declare -x FOO="\$\$"
130 ./builtins.tests: line 210: declare: FOO: not found
131 declare -x FOO="\$\$"
132 ok
133 ok
134 ./builtins.tests: line 242: kill: 4096: invalid signal specification
135 1
136 a\n\n\nb
137 a
138
139
140 b
141 before: f = 4
142 inside
143 after: f = 8 bar = 4
144 ./builtins.tests: line 254: exit: status: numeric argument required