diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests b/tests index 07b68e1..ab9d615 100755 --- a/tests +++ b/tests @@ -4,6 +4,7 @@ printf '1..44\n' set -e : ${XE:=./xe} +xe() { printf 'Tried to run xe directly, use $XE.\n' 2>&1; exit 111; } necho() { for a; do printf '%s\n' "$a"; done; } @@ -175,7 +176,7 @@ check_output 'with ITER' '$XE -a -s "echo \$ITER" -- a b c' <<EOF 3 EOF -check_output 'is eager' '{ echo 1; sleep 1; echo 11 >/dev/stderr; echo 2; } | xe echo' <<EOF +check_output 'is eager' '{ echo 1; sleep 1; echo 11 >/dev/stderr; echo 2; } | $XE echo' <<EOF 1 11 2 @@ -243,7 +244,7 @@ EOF printf '# regressions\n' -check_output '0fb64a4 quoting of empty strings' 'printf "foo\n\n" | ./xe -N2 -v true' <<EOF +check_output '0fb64a4 quoting of empty strings' 'printf "foo\n\n" | $XE -N2 -v true' <<EOF true foo '' EOF |