From 455f8519b217837f67f33d2f70c817fdecd43be3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 14 Jan 2015 14:24:01 +0000 Subject: 34275: assume zpty can't be used for testing Cygwin --- Test/Y02compmatch.ztst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Test/Y02compmatch.ztst') 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 -- cgit 1.4.1