psss / rpms / zsh

Forked from rpms/zsh 5 years ago
Clone
Blob Blame History Raw
 Test/C02cond.ztst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 02fa4d4..97f679c 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -204,7 +204,8 @@ F:Failures in these cases do not indicate a problem in the shell.
     print -u$ZTST_fd "Warning: not testing [[ -e /dev/fd/0 ]] (/dev/fd not supported)"
     true
   else
-    [[ -e /dev/fd/0 ]]
+    print -u$ZTST_fd "Warning: not testing: [[ -e /dev/fd/0 ]] (mock kills us)"
+    true
   fi
 0dD:/dev/fd support in conds handled by access
 
@@ -212,7 +213,8 @@ F:Failures in these cases do not indicate a problem in the shell.
     print -u$ZTST_fd "Warning: not testing [[ -O /dev/fd/0 ]] (/dev/fd not supported)"
     true
   else
-    [[ -O /dev/fd/0 ]]
+    print -u$ZTST_fd "Warning: not testing: [[ -O /dev/fd/0 ]] (mock kills us)"
+    true
   fi
 0dD:/dev/fd support in conds handled by stat