diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-vars/readonly2.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/readonly2.tests | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/readonly2.right b/shell/hush_test/hush-vars/readonly2.right index 5b02ddfe8..38551d4ad 100644 --- a/shell/hush_test/hush-vars/readonly2.right +++ b/shell/hush_test/hush-vars/readonly2.right | |||
@@ -1,4 +1,5 @@ | |||
1 | hush: a=Z: readonly variable | 1 | hush: a=Z: readonly variable |
2 | Visible:42 | 2 | Visible:42 |
3 | |||
3 | hush: a=Z: readonly variable | 4 | hush: a=Z: readonly variable |
4 | Visible:42 | 5 | Visible:42 |
diff --git a/shell/hush_test/hush-vars/readonly2.tests b/shell/hush_test/hush-vars/readonly2.tests index d9d178edd..b758d9602 100755 --- a/shell/hush_test/hush-vars/readonly2.tests +++ b/shell/hush_test/hush-vars/readonly2.tests | |||
@@ -3,4 +3,5 @@ readonly a=A | |||
3 | 3 | ||
4 | # external commands and builtins should behave the same: | 4 | # external commands and builtins should behave the same: |
5 | (exit 42); a=Z echo "Visible:$?" | 5 | (exit 42); a=Z echo "Visible:$?" |
6 | echo | ||
6 | (exit 42); a=Z env echo "Visible:$?" | 7 | (exit 42); a=Z env echo "Visible:$?" |