busybox/shell/hush_test/hush-vars/readonly2.tests

7 lines
149 B
Plaintext
Raw Normal View History

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:$?"