summaryrefslogtreecommitdiffstats
path: root/Test/Y01completion.ztst
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-01-20 13:49:42 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-01-20 13:49:42 +0900
commit6e20f0e3d1b9062d6e26df5c565e122888cf22ae (patch)
tree31ab51b6fbd3550f6ae176bd39076ee3a60b2aba /Test/Y01completion.ztst
parent47840: make zpty module work on Cygwin (diff)
downloadzsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar.gz
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar.bz2
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar.lz
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar.xz
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.tar.zst
zsh-6e20f0e3d1b9062d6e26df5c565e122888cf22ae.zip
47849: do not skip tests requiring zpty on Cygwin
Diffstat (limited to 'Test/Y01completion.ztst')
-rw-r--r--Test/Y01completion.ztst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index a00103946..65f341d49 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -11,9 +11,7 @@
break;
fi
done
- if [[ $OSTYPE = cygwin ]]; then
- ZTST_unimplemented="the zsh/zpty module does not work on Cygwin"
- elif ( zmodload zsh/zpty 2>/dev/null ); then
+ if ( zmodload zsh/zpty 2>/dev/null ); then
. $ZTST_srcdir/comptest
mkdir comp.tmp
cd comp.tmp
@@ -156,6 +154,9 @@ F:regression test workers/31611
>line: {tst word:/}{}
# Test for regression introduced by workers/41242, raised in workers/43842
+ if [[ $OSTYPE = cygwin ]]; then
+ ZTST_skip="\\ is equivalent to / in pathname on cygwin"
+ else
{
mkdir sortnobslash
touch sortnobslash/{'!foo','#foo','\foo','|foo','~foo',Afoo,bfoo}
@@ -165,6 +166,7 @@ F:regression test workers/31611
comptesteval 'LC_ALL=$old_LC_ALL'
rm -rf sortnobslash
}
+ fi
0:ignore backslashes when sorting completion matches
>line: {: sortnobslash/}{}
>DESCRIPTION:{file}