← Commit list

c775f829d

Denys Vlasenko
Denys Vlasenko
2016-10-03
SUCCESS Duration: 238s

Subject

sh testsuite: add tests for exitcode on failure to exec

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash_test/ash-misc/exitcode_EACCES.right+2 -0
@@ -0,0 +1,2 @@
+exitcode_EACCES.tests: line 1: ./: Permission denied
+126
shell/ash_test/ash-misc/exitcode_EACCES.tests+2 -0
@@ -0,0 +1,2 @@
+./
+echo $?
shell/ash_test/ash-misc/exitcode_ENOENT.right+2 -0
@@ -0,0 +1,2 @@
+exitcode_ENOENT.tests: line 1: ./does_not_exist_for_sure: not found
+127
shell/ash_test/ash-misc/exitcode_ENOENT.tests+2 -0
@@ -0,0 +1,2 @@
+./does_not_exist_for_sure
+echo $?
shell/hush_test/hush-misc/exitcode_EACCES.right+2 -0
@@ -0,0 +1,2 @@
+hush: can't execute './': Permission denied
+126
shell/hush_test/hush-misc/exitcode_EACCES.tests+2 -0
@@ -0,0 +1,2 @@
+./
+echo $?
shell/hush_test/hush-misc/exitcode_ENOENT.right+2 -0
@@ -0,0 +1,2 @@
+hush: can't execute './does_not_exist_for_sure': No such file or directory
+127
shell/hush_test/hush-misc/exitcode_ENOENT.tests+2 -0
@@ -0,0 +1,2 @@
+./does_not_exist_for_sure
+echo $?