hush: another testcase for "READONLY_VAR=VAL BLTIN ..."
Currently fails. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
6
shell/hush_test/hush-vars/readonly2.tests
Executable file
6
shell/hush_test/hush-vars/readonly2.tests
Executable file
@@ -0,0 +1,6 @@
|
||||
unset a
|
||||
readonly a=A
|
||||
|
||||
# external commands and builtins should behave the same:
|
||||
(exit 42); a=Z echo "Visible:$?"
|
||||
(exit 42); a=Z env echo "Visible:$?"
|
Reference in New Issue
Block a user