1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 06:49:49 +02:00

34275: assume zpty can't be used for testing Cygwin

This commit is contained in:
Peter Stephenson 2015-01-14 14:24:01 +00:00
parent 9fcc9d6e8d
commit 455f8519b2
5 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2015-01-14 Peter Stephenson <p.stephenson@samsung.com>
* 34275: Test/V08zpty.ztst, Test/Y01completion.ztst,
Test/Y02compmatch.ztst, Test/Y03arguments.ztst: assume zpty
doesn't work under Cygwin.
2015-01-13 Barton E. Schaefer <schaefer@zsh.org>
* 34273: Doc/Zsh/compsys.yo: use a sufficient number of colons

View File

@ -6,7 +6,8 @@
if ! zmodload zsh/zpty 2>/dev/null
then
ZTST_unimplemented="the zsh/zpty module is not available"
return 0
elif [[ $OSTYPE = cygwin ]]; then
ZTST_unimplemented="the zsh/zpty module does not work on Cygwin"
fi
%test

View File

@ -1,7 +1,9 @@
# Tests for completion system.
%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

View File

@ -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

View File

@ -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