diff options
Diffstat (limited to 'shell/ash_test/ash-misc')
-rw-r--r-- | shell/ash_test/ash-misc/exitcode_EACCES.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-misc/exitcode_EACCES.tests | 2 | ||||
-rw-r--r-- | shell/ash_test/ash-misc/exitcode_ENOENT.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-misc/exitcode_ENOENT.tests | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/shell/ash_test/ash-misc/exitcode_EACCES.right b/shell/ash_test/ash-misc/exitcode_EACCES.right new file mode 100644 index 000000000..0a332f56c --- /dev/null +++ b/shell/ash_test/ash-misc/exitcode_EACCES.right @@ -0,0 +1,2 @@ +exitcode_EACCES.tests: line 1: ./: Permission denied +126 diff --git a/shell/ash_test/ash-misc/exitcode_EACCES.tests b/shell/ash_test/ash-misc/exitcode_EACCES.tests new file mode 100755 index 000000000..26b5c6116 --- /dev/null +++ b/shell/ash_test/ash-misc/exitcode_EACCES.tests @@ -0,0 +1,2 @@ +./ +echo $? diff --git a/shell/ash_test/ash-misc/exitcode_ENOENT.right b/shell/ash_test/ash-misc/exitcode_ENOENT.right new file mode 100644 index 000000000..45b27b32e --- /dev/null +++ b/shell/ash_test/ash-misc/exitcode_ENOENT.right @@ -0,0 +1,2 @@ +exitcode_ENOENT.tests: line 1: ./does_not_exist_for_sure: not found +127 diff --git a/shell/ash_test/ash-misc/exitcode_ENOENT.tests b/shell/ash_test/ash-misc/exitcode_ENOENT.tests new file mode 100755 index 000000000..7f1b88a99 --- /dev/null +++ b/shell/ash_test/ash-misc/exitcode_ENOENT.tests @@ -0,0 +1,2 @@ +./does_not_exist_for_sure +echo $? |