summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/readonly2.tests
blob: b758d9602407ac2254c3839120a01a92db7309b9 (plain)
1
2
3
4
5
6
7
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:$?"