busybox/shell/hush_test/hush-vars/readonly3.tests
Denys Vlasenko 61407807ab hush: fix for readonly vars in "ro=A ro=B cmd" case
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-04 21:14:28 +02:00

5 lines
102 B
Plaintext
Executable File

readonly v=1
# there was a bug causing second assignment to be not checked
v=2 v=3 echo $v
echo Ok:$v