about summary refs log tree commit diff
path: root/Test
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 /Test
parentad47c2d9078232d4a515b6dac2c5a8a8b05b16e9 (diff)
downloadzsh-b5f24592adf1bcca0f238e55c04d184d36599420.tar.gz
zsh-b5f24592adf1bcca0f238e55c04d184d36599420.tar.xz
zsh-b5f24592adf1bcca0f238e55c04d184d36599420.zip
46183: New XFail test: external command with =(...) on LHS of pipeline cleans up its tempfiles.
Diffstat (limited to 'Test')
-rw-r--r--Test/D03procsubst.ztst9
1 files changed, 9 insertions, 0 deletions
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.)
+