about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Test/D03procsubst.ztst9
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 725dc963b..74a47dece 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2020-07-12  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 46183: Test/D03procsubst.ztst: New XFail test: external
+	command with =(...) on LHS of pipeline cleans up its tempfiles.
+
 	* unposted (cf. GitHub #11): Misc/vcs_info-examples: vcs_info
 	hg: docs: Change an example to not use a hex dump incantation
 	that may replace some bytes' values with asterisks.
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index 68a68ef6e..1e5cd9f6c 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -160,3 +160,12 @@
   $ZTST_testdir/../Src/zsh -df -o shfileexpansion -c 'cat =(echo hi)'
 0:EQUALS expansion followed by =(...) (sh ordering) should work
 >hi
+
+  () {
+    local TMPPREFIX=$PWD/tmp
+    command true =(true) =(true) | :
+    print -rC1 -- $TMPPREFIX*(N)
+  }
+0f:external command with =(...) on LHS of pipeline cleans up its tempfiles
+# (Expected result: no output.)
+