From 34c73c499bae67c1a81482c1ff5c263c85e51f1d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 16 Aug 2008 11:48:02 +0000 Subject: ash: fix "(cat < file)" hang introduced by rev 22944. --- shell/ash_test/ash-redir/redir6.right | 2 ++ shell/ash_test/ash-redir/redir6.tests | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 shell/ash_test/ash-redir/redir6.right create mode 100755 shell/ash_test/ash-redir/redir6.tests (limited to 'shell/ash_test') 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