summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/readonly0.right
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-21 13:37:25 +0200
committerDenys Vlasenko2017-07-21 13:37:25 +0200
commit0eed355eac5a8f589f607825a56c87b6c93db79a (patch)
tree9063c1d8cd1d7a1377463abffc4a2fe8d17de340 /shell/ash_test/ash-vars/readonly0.right
parent42ba757d5e80ba25cc192939aa3525049f9e092f (diff)
downloadbusybox-0eed355eac5a8f589f607825a56c87b6c93db79a.zip
busybox-0eed355eac5a8f589f607825a56c87b6c93db79a.tar.gz
ash: suppress readonly1.tests false positive; add readonly0.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/readonly0.right')
-rw-r--r--shell/ash_test/ash-vars/readonly0.right13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/readonly0.right b/shell/ash_test/ash-vars/readonly0.right
new file mode 100644
index 0000000..f3a6bde
--- /dev/null
+++ b/shell/ash_test/ash-vars/readonly0.right
@@ -0,0 +1,13 @@
+readonly a='A'
+readonly b='B'
+Ok:0
+
+./readonly0.tests: line 19: a: is read only
+Fail:2
+./readonly0.tests: readonly: line 21: a: is read only
+Fail:2
+
+./readonly0.tests: export: line 27: a: is read only
+Fail:2
+
+Fail:1