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. --- ChangeLog | 5 +++++ Test/D04parameter.ztst | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index edcf66d57..071620c4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-05-20 Daniel Shahaf + + * 45862: Test/D04parameter.ztst: Add test cases for 45843#1 + and 45843#2, adapted from Aaron Esau and pws. + 2020-05-17 Eitan Adler * Eitan Adler: unposted: config.guess, config.sub: update to 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 1.4.1