about summary refs log tree commit diff
path: root/Test/Y04compgen.ztst
blob: 90dce6148f5934b0a3f45623dd6c759a1bcbe9f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Tests for bash compgen compatibility.

%prep
  if ( zmodload zsh/parameter ) >/dev/null 2>&1; then
    . $ZTST_srcdir/compgentest
    comptestinit -z $ZTST_testdir/../Src/zsh &&
  else
    ZTST_unimplemented="the zsh/parameter module is not available"
  fi

%test

  comptest $': \t\t\t\t\t\t\t'
0:bash compatibility: compgen -W
>abc
>abe
>ab

%clean

  zmodload -ui zsh/parameter