diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/ash_test/ash-redir/redir5.right | 2 | ||||
| -rwxr-xr-x | shell/ash_test/ash-redir/redir5.tests | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-redir/redir5.right b/shell/ash_test/ash-redir/redir5.right new file mode 100644 index 000000000..9d0877765 --- /dev/null +++ b/shell/ash_test/ash-redir/redir5.right | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | ./redir5.tests: line 2: 10: Bad file descriptor | ||
| 2 | OK | ||
diff --git a/shell/ash_test/ash-redir/redir5.tests b/shell/ash_test/ash-redir/redir5.tests new file mode 100755 index 000000000..91b0c1ff9 --- /dev/null +++ b/shell/ash_test/ash-redir/redir5.tests | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # ash uses fd 10 (usually) for reading the script | ||
| 2 | echo LOST >&10 | ||
| 3 | echo OK | ||
