about summary refs log tree commit diff
path: root/Test/Y01completion.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-01-14 14:24:01 +0000
committerPeter Stephenson <pws@zsh.org>2015-01-14 14:25:18 +0000
commit455f8519b217837f67f33d2f70c817fdecd43be3 (patch)
tree74d32ee93c9e4fdc1425622b8d3fecf6ac1089f0 /Test/Y01completion.ztst
parent9fcc9d6e8dd778007c0dd51860651f8256c6640c (diff)
downloadzsh-455f8519b217837f67f33d2f70c817fdecd43be3.tar.gz
zsh-455f8519b217837f67f33d2f70c817fdecd43be3.tar.xz
zsh-455f8519b217837f67f33d2f70c817fdecd43be3.zip
34275: assume zpty can't be used for testing Cygwin
Diffstat (limited to 'Test/Y01completion.ztst')
-rw-r--r--Test/Y01completion.ztst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index a2aa00717..383e6529f 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -1,7 +1,9 @@
 # Tests for completion system.
 
 %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 comp.tmp
     cd comp.tmp