Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test E01 and Y01 fails in my zsh 4.0.9



    Hi Bart :)

 * Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> } file is run even when zsh is invoked with '-f', isn't it?
> Yep.  In fact, /etc/zshenv is run even when zsh is invoked with
> "-o no_global_rcs".

    There should be a flag for avoiding even /etc/zshenv, just in
case it is badly broken...

> } > }     Don't know why 'comptestinit' stops there :??
> }     Can it be caused by some option I set on my /etc/zshenv?
> It could be ... but I can't suggest anything specific.

    Well, I isolated the problem: the test doesn't like my PS1
(which, BTW, shouldn't be in /etc/zshevn... my fault). Since
'comptest' modifies PS1, that was probably the problem. If I unset my
PS1, I got the following as the output of 'make check TESTNUM=Y01'.
Haven't tried with Y02 and Y03 yet:

cd Test ; make check
make[1]: Entering directory `/root/Test/zsh-4.0.9/Test'
if test -n ""; then \
  cd .. && DESTDIR= \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
for f in ./Y01*.ztst; do \
  ../Src/zsh +Z -f ./ztst.zsh $f; \
done
./Y01completion.ztst: starting.
*** /tmp/zsh.ztst.out.6474	Fri Jan  9 12:42:19 2004
--- /tmp/zsh.ztst.tout.6474	Fri Jan  9 12:42:19 2004
***************
*** 1,12 ****
  line: {: }{}
! DESCRIPTION:{file}
! DI:{dir1}
! DI:{dir2}
! FI:{file1}
! FI:{file2}
! line: {: dir1/}{}
! line: {: dir2/}{}
! line: {: file1}{}
! line: {: file2}{}
! line: {: dir1/}{}
! line: {: dir2/}{}
--- 1,7 ----
  line: {: }{}
! line: {: }{}
! line: {: }{}
! line: {: }{}
! line: {: }{}
! line: {: }{}
! line: {: }{}
Test ./Y01completion.ztst failed: output differs from expected as shown above for:
  comptest $': \t\t\t\t\t\t\t'
Was testing: directories and files
./Y01completion.ztst: test failed.
make[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
make[1]: Leaving directory `/root/Test/zsh-4.0.9/Test'

    I don't have the 'computil' module, could it be the problem?
Anyway, my zsh seems to work OK even if the test fails :?

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author