summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Test/X02zlevi.ztst4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3388f89c0..c6d38671c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2015-01-14 Peter Stephenson <p.stephenson@samsung.com>
+ * 34283: Test/X02zlevi.ztst: also needs zpty.
+
* 34275: Test/V08zpty.ztst, Test/Y01completion.ztst,
Test/Y02compmatch.ztst, Test/Y03arguments.ztst: assume zpty
doesn't work under Cygwin.
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