diff options
author | Denys Vlasenko | 2017-07-21 13:37:25 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-07-21 13:37:25 +0200 |
commit | 0eed355eac5a8f589f607825a56c87b6c93db79a (patch) | |
tree | 9063c1d8cd1d7a1377463abffc4a2fe8d17de340 /shell/ash_test/ash-vars/readonly1.tests | |
parent | 42ba757d5e80ba25cc192939aa3525049f9e092f (diff) | |
download | busybox-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/readonly1.tests')
-rwxr-xr-x | shell/ash_test/ash-vars/readonly1.tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash_test/ash-vars/readonly1.tests b/shell/ash_test/ash-vars/readonly1.tests index 81b461f..f3cccd9 100755 --- a/shell/ash_test/ash-vars/readonly1.tests +++ b/shell/ash_test/ash-vars/readonly1.tests @@ -1,7 +1,7 @@ readonly bla=123 # Bare "eval bla=123" should abort ("eval" is a special builtin): (eval bla=123 2>/dev/null; echo BUG) -echo One:$? +echo Fail:$? # "command BLTIN" disables "special-ness", should not abort: command eval bla=123 2>/dev/null -echo One:$? +echo Fail:$? |