busybox/shell/ash_test/ash-misc/command2.right
Ron Yorston e939856c87 ash: add tests for failures of the exec and command builtins
The exec builtin should return an exit status of 127 if the command
can't be found.  It doesn't:  it returns 2.

If the command builtin is used to source a script that runs a second
script that doesn't exist ash should issue an error.  Instead it seg
faults.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-30 22:19:06 +01:00

3 lines
74 B
Plaintext

test1
./command2.tests: ./test1.sh: line 1: ./test2.sh: Permission denied