nt9856x/BSP/busybox/shell/hush_test/hush-vars/readonly2.tests
2023-03-28 15:07:53 +08: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:$?"