summary refs log tree commit diff
path: root/Test/Y02compmatch.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Y02compmatch.ztst')
-rw-r--r--Test/Y02compmatch.ztst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/Y02compmatch.ztst b/Test/Y02compmatch.ztst
index 704580043..db734facc 100644
--- a/Test/Y02compmatch.ztst
+++ b/Test/Y02compmatch.ztst
@@ -11,7 +11,9 @@
 # contains the compadd output.
 
 %prep
-  if ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
+  if [[ $OSTYPE = cygwin ]]; then
+    ZTST_unimplemented="the zsh/zpty module does not work on Cygwin"
+  elif ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
     . $ZTST_srcdir/comptest
     mkdir match.tmp
     cd match.tmp