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/Y03arguments.ztst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Test/Y03arguments.ztst') diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst index bfdcdec63..0627104f5 100644 --- a/Test/Y03arguments.ztst +++ b/Test/Y03arguments.ztst @@ -1,7 +1,9 @@ # Tests for _arguments. %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 -- cgit 1.4.1