aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/readonly0.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-18 03:23:07 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-18 03:23:07 +0200
commitf645e1573c5521c87b972400f9b4abc3636983d4 (patch)
tree89e95e92045f83a5dacf518c2c6a0dafc7185cd2 /shell/hush_test/hush-vars/readonly0.right
parent5b2cc0aaee6985431d9bab1b49ceea7e1fa1d7af (diff)
downloadbusybox-f645e1573c5521c87b972400f9b4abc3636983d4.tar.gz
hush: another testcase for "READONLY_VAR=VAL BLTIN ..."
Currently fails. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/readonly0.right')
-rw-r--r--shell/hush_test/hush-vars/readonly0.right6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/readonly0.right b/shell/hush_test/hush-vars/readonly0.right
index 07ca6e07f..8b750eb5f 100644
--- a/shell/hush_test/hush-vars/readonly0.right
+++ b/shell/hush_test/hush-vars/readonly0.right
@@ -1,14 +1,20 @@
readonly a=A
readonly b=B
Ok:0
+
hush: a=A: readonly variable
Fail:1
hush: a=A: readonly variable
Fail:1
+
hush: a=Z: readonly variable
Fail:1
+
hush: a=Z: readonly variable
b=B
^^^a is not exported
+hush: a=Z: readonly variable
+Visible:42
+
hush: a: readonly variable
Fail:1