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

test suite failure when testing statically linked build



Hi,

if I enable the test-suite in the Debian package of zsh 5.0.2 after
the statically linked variant has been built, I get the following test
suite failure:

DH_VERBOSE=1 HOME="/home/abe/zsh/zsh/obj/testhome" dh_auto_test -B obj-static --parallel
        cd obj-static
        make -j2 test
make[1]: Entering directory `/home/abe/zsh/zsh/obj-static'
cd Test ; make check
make[2]: Entering directory `/home/abe/zsh/zsh/obj-static/Test'
if test -n ""; then \
          cd .. && DESTDIR= \
          make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
        fi
if ZTST_testlist="`for f in ../../Test/*.ztst; \
           do echo $f; done`" \
         ZTST_srcdir="../../Test" \
         ZTST_exe=../Src/zsh \
         ../Src/zsh +Z -f ../../Test/runtests.zsh; then \
         stat=0; \
        else \
         stat=1; \
        fi; \
        sleep 1; \
        rm -rf Modules .zcompdump; \
        exit $stat
../../Test/A01grammar.ztst: starting.
[...]
../../Test/C02cond.ztst: starting.
Test ../../Test/C02cond.ztst failed: bad status 1, expected 0 from:
  if (( EUID == 0 )); then
    print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]] (root reads anything)'
    [[ -r zerolength && -r unmodish ]]
  elif [[ $OSTYPE = cygwin ]]; then
    print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]]
   (all files created by user may be readable)'
   [[ -r zerolength ]]
  else
    [[ -r zerolength && ! -r unmodish ]]
  fi
Was testing: -r cond
../../Test/C02cond.ztst: test failed.
[...]
34 successful test scripts, 1 failure, 5 skipped

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.asciiribbon.org/              | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



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