From dfb94adb2574b60e7eb403f00789ab6576960435 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 10 Feb 2016 21:09:48 +0100 Subject: only close stdin when we read arguments from it --- tests | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests b/tests index b02b638..5a5168a 100755 --- a/tests +++ b/tests @@ -1,5 +1,5 @@ #!/bin/sh -printf '1..38\n' +printf '1..40\n' set -e @@ -215,6 +215,15 @@ a 123 EOF +check_output 'should close stdin when arguments were read from it' 'necho a b c | $XE -s "sed q"' <