From b84d69cf5299bf7985b72d25a589b29650cd9b26 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 8 Oct 2017 18:08:09 -0700 Subject: 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in prefork() --- Test/E01options.ztst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Test') diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 8101ff539..6929f5140 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -1026,6 +1026,18 @@ >$lspath $lspath = >$lspath + () { + emulate -L sh + v='~/one ~/two' + print -l -- $v $v + } +0:SH_FILE_EXPANSION option with GLOB_SUBST et al. +F:Regression test for workers/41811 +>~/one +>~/two +>~/one +>~/two + testpat() { if [[ $1 = ${~2} ]]; then print $1 $2 yes; else print $1 $2 no; fi } -- cgit 1.4.1