summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-07-12 15:57:45 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-07-12 15:57:49 +0000
commitb5f24592adf1bcca0f238e55c04d184d36599420 (patch)
tree87fd4b30da4bf8d4f7d3d27b685d449da8984957
parentad47c2d9078232d4a515b6dac2c5a8a8b05b16e9 (diff)
downloadzsh-b5f24592adf1bcca0f238e55c04d184d36599420.tar.gz
zsh-b5f24592adf1bcca0f238e55c04d184d36599420.zip
46183: New XFail test: external command with =(...) on LHS of pipeline cleans up its tempfiles.
-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.)
+