From 8b7ead271f963b7e5fa3ddeedf59ac8a0754df4a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 14 Jan 2015 17:34:02 +0000 Subject: 34283: test X02 also needs zpty and shouldn't run on Cygwin --- Test/X02zlevi.ztst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Test') 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 -- cgit 1.4.1