shell/ash_test/ash-misc/command2.right+2 -0
| @@ -0,0 +1,2 @@ |
| + | test1 |
| + | ./command2.tests: ./test1.sh: line 1: ./test2.sh: Permission denied |
shell/ash_test/ash-misc/command2.tests+6 -0
| @@ -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 |
shell/ash_test/ash-misc/exec.right+2 -0
| @@ -0,0 +1,2 @@ |
| + | ./exec.tests: exec: line 2: ./test1.sh: not found |
| + | 127 |
shell/ash_test/ash-misc/exec.tests+3 -0
| @@ -0,0 +1,3 @@ |
| + | rm -f test1.sh |
| + | (exec ./test1.sh) |
| + | echo $? |