aboutsummaryrefslogtreecommitdiff
path: root/shell/msh_test/msh-execution/exitcode_ENOENT.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-30 22:28:32 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-30 22:28:32 +0000
commit447bd6683729eb6d0f09e30eb68add6297881d01 (patch)
tree778c20dc4b7f7f176ea43934d8fca9ac3056f5cc /shell/msh_test/msh-execution/exitcode_ENOENT.tests
parentf9a07841441e63a96d1a416f68ee2eeb78bface0 (diff)
downloadbusybox-447bd6683729eb6d0f09e30eb68add6297881d01.tar.gz
msh: fix the case where the file has exec bit but can't be run directly
(run "$SHELL $file" instead) msh: fix exit codes when command is not found or can't be execed (with testcases)
Diffstat (limited to 'shell/msh_test/msh-execution/exitcode_ENOENT.tests')
-rwxr-xr-xshell/msh_test/msh-execution/exitcode_ENOENT.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/msh_test/msh-execution/exitcode_ENOENT.tests b/shell/msh_test/msh-execution/exitcode_ENOENT.tests
new file mode 100755
index 000000000..c8866532b
--- /dev/null
+++ b/shell/msh_test/msh-execution/exitcode_ENOENT.tests
@@ -0,0 +1,2 @@
+./does_exist_for_sure
+echo $?