diff options
Diffstat (limited to 'shell/hush_test/hush-vars/readonly2.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/readonly2.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/readonly2.tests b/shell/hush_test/hush-vars/readonly2.tests new file mode 100755 index 0000000..d9d178e --- /dev/null +++ b/shell/hush_test/hush-vars/readonly2.tests @@ -0,0 +1,6 @@ +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:$?" |