Annotation of /trunk/mkinitrd-magellan/busybox/shell/hush_test/hush-vars/unset.tests
Parent Directory | Revision Log
Revision 984 -
(hide annotations)
(download)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 424 byte(s)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 424 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 | niro | 984 | # check invalid options are rejected |
2 | unset - | ||
3 | echo $? | ||
4 | unset -m a b c | ||
5 | echo $? | ||
6 | |||
7 | # check funky usage | ||
8 | unset | ||
9 | echo $? | ||
10 | |||
11 | # check normal usage | ||
12 | echo ___ | ||
13 | f=f g=g | ||
14 | echo $? $f $g | ||
15 | unset f | ||
16 | echo $? $f $g | ||
17 | unset g | ||
18 | echo $? $f $g | ||
19 | |||
20 | echo ___ | ||
21 | f=f g=g | ||
22 | echo $? $f $g | ||
23 | unset f g | ||
24 | echo $? $f $g | ||
25 | f=f g=g | ||
26 | echo $? $f $g | ||
27 | unset -v f g | ||
28 | echo $? $f $g | ||
29 | |||
30 | # check read only vars | ||
31 | echo ___ | ||
32 | f=f g=g | ||
33 | unset HUSH_VERSION | ||
34 | echo $? $f $g | ||
35 | unset f HUSH_VERSION g | ||
36 | echo $? $f $g |
Properties
Name | Value |
---|---|
svn:executable | * |