about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-05-19 16:55:43 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-05-19 16:55:43 +0200
commita240ad0707f96e8b205678aaedd813f95122199c (patch)
tree75ed7e92176201c4afa05480fe07ab97fb37e4a5
parenta5cbaa2a456bd39104ff2c9f19562d90bd453d5d (diff)
downloadxe-a240ad0707f96e8b205678aaedd813f95122199c.tar.gz
xe-a240ad0707f96e8b205678aaedd813f95122199c.tar.xz
xe-a240ad0707f96e8b205678aaedd813f95122199c.zip
tests: add check for 0fb64a4
-rwxr-xr-xtests8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests b/tests
index ecb6107..2e92b79 100755
--- a/tests
+++ b/tests
@@ -1,5 +1,5 @@
 #!/bin/sh
-printf '1..42\n'
+printf '1..43\n'
 
 set -e
 
@@ -235,6 +235,12 @@ y
 y
 EOF
 
+printf '# regressions\n'
+
+check_output '0fb64a4 quoting of empty strings' 'printf "foo\n\n" | ./xe -N2 -v true' <<EOF
+true foo ''
+EOF
+
 printf '# limit checks, expecting maximal POSIX limits available\n'
 
 check_output 'argscap check' 'head -c 17711 /dev/zero | tr "\0" "\012" | $XE -N0 -s "echo \$#"' <<EOF