summary refs log tree commit diff
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-12-05 16:52:22 +0000
committerPeter Stephenson <pws@zsh.org>2016-12-05 16:52:22 +0000
commit98e297931ab7e67504a9670135f9264fe1e5b283 (patch)
tree5f95448ed3682acfcfbf1cd2c0977db3d7b93a0c /Test/C02cond.ztst
parent9649ef588882419046f66a7a7db18f3cff8106f9 (diff)
downloadzsh-98e297931ab7e67504a9670135f9264fe1e5b283.tar.gz
zsh-98e297931ab7e67504a9670135f9264fe1e5b283.tar.xz
zsh-98e297931ab7e67504a9670135f9264fe1e5b283.zip
40102: Use subdirectory for test I/O files
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 40e4dfb0b..27a22593d 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -11,9 +11,9 @@
   typeset -gi isnfs
   [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]] && isnfs=1
   if (( isnfs )) &&
-    (cd -q ${TMPPREFIX:h} >/dev/null 2>&1 &&
+    (cd -q ${ZTST_tmp} >/dev/null 2>&1 &&
      [[ "$(find . -prune -fstype nfs 2>/dev/null)" != "." ]]); then
-    filetmpprefix=${TMPPREFIX}-$$-
+    filetmpprefix=${ZTST_tmp}/condtest-$$-
     isnfs=0
   else
     filetmpprefix=