data/method/busybox/busybox-1.36.0/shell/hush_test/hush-vars/readonly2.tests

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