summaryrefslogtreecommitdiff
path: root/tests/read1.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read1.sub')
-rw-r--r--tests/read1.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/read1.sub b/tests/read1.sub
index b3b85157..cf003986 100644
--- a/tests/read1.sub
+++ b/tests/read1.sub
@@ -15,6 +15,7 @@ a=7
echo 'abcdefg|xyz' | {
read -d '|' a
echo a = "${a-unset}"
+ cat - # make sure we don't read too much
}
echo xyz 123 | {