about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-20 00:47:22 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-20 00:48:41 +0000
commitc7da34dd71966bfa0531cb87414c103c989f205c (patch)
treec52fa03dac20f39211a55e553419676085cfda54 /Test
parentc528c27ade97465bcd5a59e9c43ba1d4d806696d (diff)
downloadzsh-c7da34dd71966bfa0531cb87414c103c989f205c.tar.gz
zsh-c7da34dd71966bfa0531cb87414c103c989f205c.tar.xz
zsh-c7da34dd71966bfa0531cb87414c103c989f205c.zip
45862: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws.
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 024de4d2b..6d2dd0d99 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2656,3 +2656,13 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
 >1: pws
 >3: pw
 >4: pw
+
+ # Using a subshell because it segfaults.
+ ("${: :${{{\"{{lorem ipsum dolor sit amet}}")
+-f:regression test for workers/45843#1
+?(eval):1: bad substitution
+
+# Temporarily using the 'D' flag because it generates a "BUG:" message in
+# debug builds only.
+ $ZTST_testdir/../Src/zsh -fc $'$\\\n('
+1Df:regression test for workers/45843#2: escaped newline in command substitution start token