about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-01-14 17:34:02 +0000
committerPeter Stephenson <pws@zsh.org>2015-01-14 17:34:02 +0000
commit8b7ead271f963b7e5fa3ddeedf59ac8a0754df4a (patch)
tree2f0387fa20310bc5797926bbcfc926930728abc4 /Test
parent455f8519b217837f67f33d2f70c817fdecd43be3 (diff)
downloadzsh-8b7ead271f963b7e5fa3ddeedf59ac8a0754df4a.tar.gz
zsh-8b7ead271f963b7e5fa3ddeedf59ac8a0754df4a.tar.xz
zsh-8b7ead271f963b7e5fa3ddeedf59ac8a0754df4a.zip
34283: test X02 also needs zpty and shouldn't run on Cygwin
Diffstat (limited to 'Test')
-rw-r--r--Test/X02zlevi.ztst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst
index 7bb35d52f..6ca047d43 100644
--- a/Test/X02zlevi.ztst
+++ b/Test/X02zlevi.ztst
@@ -1,7 +1,9 @@
 # Tests of the vi mode of ZLE
 
 %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
     comptestinit -v -z $ZTST_testdir/../Src/zsh
   else