hush: add command2.tests from ash tests

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-01-12 17:58:20 +01:00
parent afb73a25ea
commit 6606c519ef
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,2 @@
test1
hush: can't execute './test2.sh': Permission denied

View File

@ -0,0 +1,6 @@
echo "echo test1; ./test2.sh" >test1.sh
echo "echo test2" >test2.sh
command . ./test1.sh
rm -f test1.sh test2.sh