From 5f3d549166ffc943a656c3e12a1fab07967a75f2 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 10 Jul 2017 17:48:07 +0200 Subject: add tests for -L --- tests | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tests b/tests index 2e59761..6972417 100755 --- a/tests +++ b/tests @@ -1,5 +1,5 @@ #!/bin/sh -printf '1..44\n' +printf '1..47\n' set -e @@ -181,6 +181,22 @@ check_output 'is eager' '{ echo 1; sleep 1; echo 11 >/dev/stderr; echo 2; } | xe 2 EOF +check_output 'using -L' '{ echo 1; sleep 1; echo 2; sleep 1; echo 3; } | xe -j2 -L -s "printf \$1; sleep 1; echo \$1"' <