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

Re: zsh-5.2-test-3



On 12/10/2016 07:07 PM, Bart Schaefer wrote:
What is the platform where you are compiling?

Debian testing in a rather old state of update
}     $ make check
}
}     ./V10private.ztst: starting.
}     Pattern match failed:
}
}

There ought to be more output than that ... please run

$ ZTST_verbose=2 make check TESTNUM=V10
Verbose is right!:

   9 /aMisc/Zsh-new/zsh-5.2-test-3 2$ ZTST_verbose=2 make check TESTNUM=V10
   cd Test ; make check
   make[1]: Entering directory '/aMisc/Zsh-new/zsh-5.2-test-3/Test'
   if test -n "gcc"; then \
      cd .. && DESTDIR= \
      make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
   fi
   if ZTST_testlist="`for f in ./V10*.ztst; \
               do echo $f; done`" \
     ZTST_srcdir="." \
     ZTST_exe=../Src/zsh \
     ../Src/zsh +Z -f ./runtests.zsh; then \
     stat=0; \
   else \
     stat=1; \
   fi; \
   sleep 1; \
   rm -rf Modules .zcompdump; \
   exit $stat
   ./V10private.ztst: starting.
   ZTST_getsect: read section name: prep
   ZTST_getchunk: read code chunk:
     if ! zmodload zsh/param/private 2>/dev/null; then
       ZTST_unimplemented="can't load the zsh/param/private module for
   testing"
     else
       # Do not use .tmp here, ztst.zsh will remove it too soon (see
   %cleanup)
       mkdir private.TMP
       sed -e 's,# test_zsh_param_private,zmodload zsh/param/private,'
   < $ZTST_srcdir/B02typeset.ztst > private.TMP/B02
     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:
     (zmodload -u zsh/param/private && zmodload zsh/param/private)
   ZTST_getchunk: read code chunk:
     (zmodload -u zsh/param/private && zmodload zsh/param/private)
   ZTST_test: examining line:

   Running test: unload and reload the module without crashing
   ZTST_test: expecting status: 0
   Input: /tmp/zsh.ztst.8681/ztst.in, output:
   /tmp/zsh.ztst.8681/ztst.out, error: /tmp/zsh.ztst.8681/ztst.terr
   ZTST_execchunk: status 0
   ZTST_test: test produced standard output:

   ZTST_test: and standard error:

   Test successful.
   ZTST_test: looking for new test
   ZTST_test: examining line:

   ZTST_test: examining line:
     ZTST_verbose=0 $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh private.TMP/B02
   ZTST_getchunk: read code chunk:
     ZTST_verbose=0 $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh private.TMP/B02
   ZTST_test: examining line:
   *>*
   ZTST_getredir: read redir for '>':
   *
   ZTST_test: examining line:
   *>*
   ZTST_getredir: read redir for '>':
   *
   ZTST_test: examining line:

   Running test: typeset still works with zsh/param/private module loaded
   ZTST_test: expecting status: 0
   Input: /tmp/zsh.ztst.8681/ztst.in, output:
   /tmp/zsh.ztst.8681/ztst.out, error: /tmp/zsh.ztst.8681/ztst.terr
   ZTST_execchunk: status 0
   ZTST_test: test produced standard output:
   private.TMP/B02: starting.
   Test case skipped: cannot test setuid error when tests run as superuser
   private.TMP/B02: all tests successful.
   ZTST_test: and standard error:

   Pattern match failed:
   <*
   <*
    >private.TMP/B02: starting.
    >Test case skipped: cannot test setuid error when tests run as
   superuser
    >private.TMP/B02: all tests successful.
   Test ./V10private.ztst failed: output differs from expected as shown
   above for:
     ZTST_verbose=0 $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh private.TMP/B02
   Was testing: typeset still works with zsh/param/private module loaded
   ./V10private.ztst: test failed.
   ZTST_getsect: read section name: clean
   ZTST_getchunk: read code chunk:
      rm -r private.TMP
   ZTST_execchunk: status 0
   ZTST_getchunk: read code chunk:

   **************************************
   0 successful test scripts, 1 failure, 0 skipped
   **************************************
   Makefile:187: recipe for target 'check' failed
   make[1]: *** [check] Error 1
   make[1]: Leaving directory '/aMisc/Zsh-new/zsh-5.2-test-3/Test'
   Makefile:263: recipe for target 'check' failed
   make: *** [check] Error 2




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