mirror of https://github.com/mirror/busybox.git
sh testsuite: add tests for exitcode on failure to exec
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>1_26_stable
parent
2feaa227a4
commit
c775f829db
|
@ -0,0 +1,2 @@
|
|||
exitcode_EACCES.tests: line 1: ./: Permission denied
|
||||
126
|
|
@ -0,0 +1,2 @@
|
|||
./
|
||||
echo $?
|
|
@ -0,0 +1,2 @@
|
|||
exitcode_ENOENT.tests: line 1: ./does_not_exist_for_sure: not found
|
||||
127
|
|
@ -0,0 +1,2 @@
|
|||
./does_not_exist_for_sure
|
||||
echo $?
|
|
@ -0,0 +1,2 @@
|
|||
hush: can't execute './': Permission denied
|
||||
126
|
|
@ -0,0 +1,2 @@
|
|||
./
|
||||
echo $?
|
|
@ -0,0 +1,2 @@
|
|||
hush: can't execute './does_not_exist_for_sure': No such file or directory
|
||||
127
|
|
@ -0,0 +1,2 @@
|
|||
./does_not_exist_for_sure
|
||||
echo $?
|
Loading…
Reference in New Issue