if test -n "/opt/intel/cc/10.0.023/bin/icc"; then \
cd .. && DESTDIR= \
make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
for f in ../../../src/zsh-2007-06-13/Test/Y02*.ztst; do \
ZTST_exe=../Src/zsh \
../Src/zsh +Z -f ../../../src/zsh-2007-06-13/Test/ztst.zsh $f; \
done
../../../src/zsh-2007-06-13/Test/Y02compmatch.ztst: starting.
ZTST_getsect: read section name: prep
ZTST_getchunk: read code chunk:
if ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
. $ZTST_srcdir/comptest
mkdir match.tmp
cd match.tmp
comptestinit -z $ZTST_testdir/../Src/zsh &&
{
list1=(IndianRed IndianRed2 IndianRed3 IndianRed4)
test_code () {
matcher=$1;
list=$2;
code="compdef _tst tst ; _tst () { echo -n '';compadd -M '"
code="$code$matcher"
code="$code' - ${(P)list} ; echo -n ''"
code="$code; $extra_cmd"
code="$code; echo -n ''"
code="$code; echo \$compstate[insert_positions]"
code="$code; echo -n ''"
code="$code}"
comptesteval "$code"
}
}
else
ZTST_unimplemented="the zsh/zpty module is not available"
fi
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
test_code z: list1
ZTST_getchunk: read code chunk:
test_code z: list1
comptest $'tst \t'
ZTST_test: examining line:
>line: {tst }{}
ZTST_getredir: read redir for '>':
line: {tst }{}
COMPADD:{_tst:compadd: unknown match specification character `z'}
INSERT_POSITIONS:{}
ZTST_test: examining line:
Running test: Match Error for "z:"
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.11207, output: /tmp/zsh.ztst.out.11207, error: /tmp/zsh.ztst.terr.11207
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
line: {tst }{}
COMPADD:{_tst:compadd: bad option: - }
INSERT_POSITIONS:{}
ZTST_test: and standard error:
*** /tmp/zsh.ztst.out.11207 Wed Jun 13 23:42:07 2007
--- /tmp/zsh.ztst.tout.11207 Wed Jun 13 23:42:07 2007
***************
*** 1,3 ****
line: {tst }{}
! COMPADD:{_tst:compadd: unknown match specification character `z'}
INSERT_POSITIONS:{}
--- 1,3 ----
line: {tst }{}
! COMPADD:{_tst:compadd: bad option: - }
INSERT_POSITIONS:{}
Test ../../../src/zsh-2007-06-13/Test/Y02compmatch.ztst failed: output differs from expected as shown above for:
test_code z: list1
comptest $'tst \t'
Was testing: Match Error for "z:"
../../../src/zsh-2007-06-13/Test/Y02compmatch.ztst: test failed.
ZTST_getsect: read section name: clean
ZTST_getchunk: read code chunk:
zmodload -ui zsh/zpty
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
make: [check] Error 1 (ignored)
rm -rf Modules .zcompdump