mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
34275: assume zpty can't be used for testing Cygwin
This commit is contained in:
parent
9fcc9d6e8d
commit
455f8519b2
5 changed files with 17 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue