From c7da34dd71966bfa0531cb87414c103c989f205c Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 20 May 2020 00:47:22 +0000 Subject: 45862: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws. --- Test/D04parameter.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test/D04parameter.ztst') 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 -- cgit v1.2.3-70-g09d2