zsh/zsh-test-C02-dev_fd-mock.patch
2016-12-13 21:56:13 +01:00

28 lines
933 B
Diff

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
@@ -214,7 +214,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
@@ -222,7 +223,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