Last change
on this file since 3462 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
424 bytes
|
Rev | Line | |
---|
[3320] | 1 | # 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.