hush: add command2.tests from ash tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
afb73a25ea
commit
6606c519ef
2
shell/hush_test/hush-misc/command2.right
Normal file
2
shell/hush_test/hush-misc/command2.right
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
test1
|
||||||
|
hush: can't execute './test2.sh': Permission denied
|
6
shell/hush_test/hush-misc/command2.tests
Executable file
6
shell/hush_test/hush-misc/command2.tests
Executable 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
|
Loading…
Reference in New Issue
Block a user