implement unset semantics as required by POSIX
This commit is contained in:
19
shell/hush_test/hush-vars/unset.right
Normal file
19
shell/hush_test/hush-vars/unset.right
Normal file
@@ -0,0 +1,19 @@
|
||||
hush: unset: -: invalid option
|
||||
1
|
||||
hush: unset: -m: invalid option
|
||||
1
|
||||
0
|
||||
___
|
||||
0 f g
|
||||
0 g
|
||||
0
|
||||
___
|
||||
0 f g
|
||||
0
|
||||
0 f g
|
||||
0
|
||||
___
|
||||
hush: HUSH_VERSION: readonly variable
|
||||
1 f g
|
||||
hush: HUSH_VERSION: readonly variable
|
||||
1
|
||||
Reference in New Issue
Block a user