hush: add readonly testcase, fix fallout
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Jul 2017 23:40:01 +0000 (01:40 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Jul 2017 23:40:01 +0000 (01:40 +0200)
commit38ef39a1abd46ca390b0259ebd0b35e9ea9ccb68
tree7c2f7de98cd1a7b467be6529eff98c23b999af17
parent3bab36b18baa0dc254445828f492051450a38d41
hush: add readonly testcase, fix fallout

function                                             old     new   delta
helper_export_local                                  185     214     +29
run_pipe                                            1549    1560     +11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-vars/readonly0.right [new file with mode: 0644]
shell/hush_test/hush-vars/readonly0.tests [new file with mode: 0755]