zsh/zsh-test-C02-dev_fd-mock.patch
2015-09-14 13:04:19 +02: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
@@ -201,7 +201,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
@@ -209,7 +210,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