diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-04 21:14:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-04 21:14:28 +0200 |
commit | 61407807ab6b9505041a74ad96ffb4aeab937d36 (patch) | |
tree | eda659ec46e2d275d91ac9784dbd2095fb96da57 /shell/hush_test/hush-vars/readonly3.tests | |
parent | 759ca8a4cb57f797e92e02db84673057ce447125 (diff) |
hush: fix for readonly vars in "ro=A ro=B cmd" case
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/readonly3.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/readonly3.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/readonly3.tests b/shell/hush_test/hush-vars/readonly3.tests new file mode 100755 index 000000000..17780cfda --- /dev/null +++ b/shell/hush_test/hush-vars/readonly3.tests @@ -0,0 +1,4 @@ +readonly v=1 +# there was a bug causing second assignment to be not checked +v=2 v=3 echo $v +echo Ok:$v |