busybox/shell/hush_test/hush-vars/readonly2.tests
Denys Vlasenko cf5110978b hush: fix readonly2.tests failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-18 15:58:02 +02:00

8 lines
154 B
Plaintext
Executable File

unset a
readonly a=A
# external commands and builtins should behave the same:
(exit 42); a=Z echo "Visible:$?"
echo
(exit 42); a=Z env echo "Visible:$?"