summaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-16 11:48:02 +0000
committerDenis Vlasenko2008-08-16 11:48:02 +0000
commit34c73c499bae67c1a81482c1ff5c263c85e51f1d (patch)
treeb4a20d920d0b56140dd96011a4236c1991d5299c /shell/ash_test
parent8334db13c31f0cc60993739e573034ebbf258f38 (diff)
downloadbusybox-34c73c499bae67c1a81482c1ff5c263c85e51f1d.zip
busybox-34c73c499bae67c1a81482c1ff5c263c85e51f1d.tar.gz
ash: fix "(cat < file)" hang introduced by rev 22944.
Diffstat (limited to 'shell/ash_test')
-rw-r--r--shell/ash_test/ash-redir/redir6.right2
-rwxr-xr-xshell/ash_test/ash-redir/redir6.tests3
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-redir/redir6.right b/shell/ash_test/ash-redir/redir6.right
new file mode 100644
index 0000000..ed754df
--- /dev/null
+++ b/shell/ash_test/ash-redir/redir6.right
@@ -0,0 +1,2 @@
+Hello
+OK
diff --git a/shell/ash_test/ash-redir/redir6.tests b/shell/ash_test/ash-redir/redir6.tests
new file mode 100755
index 0000000..33b6d4c
--- /dev/null
+++ b/shell/ash_test/ash-redir/redir6.tests
@@ -0,0 +1,3 @@
+# we had a bug where this would hang
+(head -n 1 <redir6.right)
+echo OK