]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/builtins.right
Imported from ../bash-2.02.tar.gz.
[thirdparty/bash.git] / tests / builtins.right
1 alias: 0
2 alias: 0
3 a
4 end-1
5 a
6 end-2
7 a:x
8 end-a
9 b:x
10 end-b
11 c:x
12 end-c
13 end-3
14 a:x
15 end
16 a
17 b
18 c
19 end-1
20 a
21 b
22 c
23 end-2
24 a:x
25 a:y
26 a:z
27 end-a
28 b:x
29 b:y
30 b:z
31 end-b
32 c:x
33 c:y
34 c:z
35 end-c
36 end-3
37 a:x
38 b:x
39 c:x
40 end
41 $BVAR
42 $BVAR
43 $BVAR
44 $BVAR
45 foo
46 bar
47 xxx
48 022
49 u=rwx,g=rx,o=rx
50 002
51 u=rwx,g=rwx,o=rx
52 umask 002
53 umask -S u=rwx,g=rwx,o=rx
54 u=rwx,g=rwx,o=rwx
55 enable .
56 enable :
57 enable break
58 enable continue
59 enable eval
60 enable exec
61 enable exit
62 enable export
63 enable readonly
64 enable return
65 enable set
66 enable shift
67 enable source
68 enable trap
69 enable unset
70 enable .
71 enable :
72 enable break
73 enable continue
74 enable eval
75 enable exec
76 enable exit
77 enable export
78 enable readonly
79 enable return
80 enable set
81 enable shift
82 enable source
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: /tmp/source-notthere: No such file or directory
109 after bad source 1
110 ./source5.sub: /tmp/source-notthere: No such file or directory
111 AVAR
112 foo
113 foo
114 AVAR
115 foo
116 foo
117 AVAR
118 foo
119 declare -x foo=""
120 declare -x FOO="\$\$"
121 ./builtins.tests: declare: FOO: not found
122 declare -x FOO="\$\$"
123 ok
124 ok
125 ./builtins.tests: kill: bad signal number: 4096
126 1
127 ./builtins.tests: exit: bad non-numeric arg `status'