From 447bd6683729eb6d0f09e30eb68add6297881d01 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 30 May 2008 22:28:32 +0000 Subject: 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) --- shell/msh_test/msh-execution/exitcode_ENOENT.tests | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 shell/msh_test/msh-execution/exitcode_ENOENT.tests (limited to 'shell/msh_test/msh-execution/exitcode_ENOENT.tests') 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 $? -- cgit v1.2.3