hush: another testcase for "READONLY_VAR=VAL BLTIN ..."

Currently fails.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-07-18 03:23:07 +02:00
parent 5b2cc0aaee
commit f645e1573c
4 changed files with 27 additions and 5 deletions

View File

@@ -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