zsh-workers
 help / color / mirror / code / Atom feed
* 5.8: test suite is failing
@ 2021-05-10 20:24 Tomasz Kłoczko
  2021-05-11  2:08 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Kłoczko @ 2021-05-10 20:24 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 6349 bytes --]

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
cd Test ; /usr/bin/make check
if test -n "/usr/bin/gcc"; then \
  cd .. && DESTDIR= \
  /usr/bin/make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
zsh.spec%

                      print ten ten nine one print
  print   print one two three four five six seven eight nine ten one two
  print mystery sequence
  print one
  print two
  print mystery sequence
  print metaphor\? shmetaphor!
  print metaphor!
  print -l metophor, Molochi,
  echo $(  echo foo bar) again
  echo more $(   echo $(  echo foo bar) again )
 echo /my/path/for/testing
 echo /my/path
 echo /my
 echo /
 echo /my/path/for/testing
 echo path/for/testing
 echo for/testing
 echo testing
 echo path/for
 echo /my/path/for/testing
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zsh-5.8/Test'
if test -z "$ZTST_handler"; then \
  ZTST_handler=runtests.zsh; \
fi; \
if ZTST_testlist="`for f in ./*.ztst; \
           do echo $f; done`" \
 ZTST_srcdir="." \
 ZTST_exe=../Src/zsh \
 ../Src/zsh +Z -f ./$ZTST_handler; then \
 stat=0; \
else \
 stat=1; \
fi; \
sleep 1; \
rm -rf Modules .zcompdump; \
exit $stat
./A01grammar.ztst: starting.
This test hangs the shell when it fails...
./A01grammar.ztst: all tests successful.
./A02alias.ztst: starting.
This test hangs the shell when it fails...
./A02alias.ztst: all tests successful.
./A03quoting.ztst: starting.
./A03quoting.ztst: all tests successful.
./A04redirect.ztst: starting.
./A04redirect.ztst: all tests successful.
./A05execution.ztst: starting.
This test takes 5 seconds to fail...
This test takes 3 seconds and hangs the shell when it fails...
./A05execution.ztst: all tests successful.
./A06assign.ztst: starting.
./A06assign.ztst: all tests successful.
./A07control.ztst: starting.
./A07control.ztst: all tests successful.
./B01cd.ztst: starting.
./B01cd.ztst: all tests successful.
./B02typeset.ztst: starting.
./B02typeset.ztst: all tests successful.
./B03print.ztst: starting.
./B03print.ztst: all tests successful.
./B04read.ztst: starting.
./B04read.ztst: all tests successful.
./B05eval.ztst: starting.
./B05eval.ztst: all tests successful.
./B06fc.ztst: starting.
./B06fc.ztst: all tests successful.
./B07emulate.ztst: starting.
./B07emulate.ztst: all tests successful.
./B08shift.ztst: starting.
./B08shift.ztst: all tests successful.
./B09hash.ztst: starting.
./B09hash.ztst: all tests successful.
./B10getopts.ztst: starting.
./B10getopts.ztst: all tests successful.
./C01arith.ztst: starting.
./C01arith.ztst: all tests successful.
./C02cond.ztst: starting.
This test takes two seconds...
./C02cond.ztst: all tests successful.
./C03traps.ztst: starting.
This test takes at least three seconds...
This test, too, takes at least three seconds...
Another test that takes three seconds
./C03traps.ztst: all tests successful.
./C04funcdef.ztst: starting.
Test ./C04funcdef.ztst failed: bad status 1, expected 0 from:
  # keep spec from getting loaded in parent shell for simplicity
  (
    if whence spec; then print spec already loaded >&2; exit 1; fi
    autoload -Uz $PWD/spec
    autoload -Uz $PWD/extra/spec
    spec
  )
Error output:
spec already loaded
Was testing: autoload with absolute path can be overridden if not yet loaded
./C04funcdef.ztst: test failed.
./C05debug.ztst: starting.
./C05debug.ztst: all tests successful.
./D01prompt.ztst: starting.
./D01prompt.ztst: all tests successful.
./D02glob.ztst: starting.
./D02glob.ztst: all tests successful.
./D03procsubst.ztst: starting.
./D03procsubst.ztst: all tests successful.
./D04parameter.ztst: starting.
./D04parameter.ztst: all tests successful.
./D05array.ztst: starting.
./D05array.ztst: all tests successful.
./D06subscript.ztst: starting.
./D06subscript.ztst: all tests successful.
./D07multibyte.ztst: starting.
Testing multibyte with locale en_US.UTF-8
./D07multibyte.ztst: all tests successful.
./D08cmdsubst.ztst: starting.
./D08cmdsubst.ztst: all tests successful.
./D09brace.ztst: starting.
./D09brace.ztst: all tests successful.
./E01options.ztst: starting.
This test hangs the shell when it fails...
./E01options.ztst: all tests successful.
./E02xtrace.ztst: starting.
./E02xtrace.ztst: all tests successful.
./P01privileged.ztst: starting.
./P01privileged.ztst: skipped (PRIVILEGED tests require super-user
privileges (or env var))
./V01zmodload.ztst: starting.
./V01zmodload.ztst: all tests successful.
./V02zregexparse.ztst: starting.
./V02zregexparse.ztst: all tests successful.
./V03mathfunc.ztst: starting.
./V03mathfunc.ztst: all tests successful.
./V04features.ztst: starting.
./V04features.ztst: all tests successful.
./V05styles.ztst: starting.
./V05styles.ztst: all tests successful.
./V06parameter.ztst: starting.
./V06parameter.ztst: all tests successful.
./V07pcre.ztst: starting.
Testing PCRE multibyte with locale en_US.UTF-8
./V07pcre.ztst: all tests successful.
./V08zpty.ztst: starting.
./V08zpty.ztst: all tests successful.
./V09datetime.ztst: starting.
./V09datetime.ztst: all tests successful.
./V10private.ztst: starting.
./V10private.ztst: all tests successful.
./V11db_gdbm.ztst: starting.
./V11db_gdbm.ztst: skipped (can't load zsh/db/gdbm module for testing)
./V12zparseopts.ztst: starting.
./V12zparseopts.ztst: all tests successful.
./W01history.ztst: starting.
History tests write to /dev/tty
./W01history.ztst: all tests successful.
./W02jobs.ztst: starting.
./W02jobs.ztst: all tests successful.
./X02zlevi.ztst: starting.
This test may hang the shell when it fails...
./X02zlevi.ztst: all tests successful.
./X03zlebindkey.ztst: starting.
./X03zlebindkey.ztst: all tests successful.
./X04zlehighlight.ztst: starting.
./X04zlehighlight.ztst: all tests successful.
./Y01completion.ztst: starting.
./Y01completion.ztst: all tests successful.
./Y02compmatch.ztst: starting.
./Y02compmatch.ztst: all tests successful.
./Y03arguments.ztst: starting.
./Y03arguments.ztst: all tests successful.
**************************************
51 successful test scripts, 1 failure, 2 skipped
**************************************
make[1]: *** [Makefile:190: check] Error 1

kloczek
-- 
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*

[-- Attachment #2: Type: text/html, Size: 7866 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 5.8: test suite is failing
  2021-05-10 20:24 5.8: test suite is failing Tomasz Kłoczko
@ 2021-05-11  2:08 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2021-05-11  2:08 UTC (permalink / raw)
  To: Tomasz Kłoczko; +Cc: Zsh hackers list

On Mon, May 10, 2021 at 1:26 PM Tomasz Kłoczko <kloczko.tomasz@gmail.com> wrote:
>
> Test ./C04funcdef.ztst failed: bad status 1, expected 0 from:
>   # keep spec from getting loaded in parent shell for simplicity
>   (
>     if whence spec; then print spec already loaded >&2; exit 1; fi

Do you have a command named "spec" somewhere in your $PATH when
running this "make"?

diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst
index 407fc471f..88321c432 100644
--- a/Test/C04funcdef.ztst
+++ b/Test/C04funcdef.ztst
@@ -508,7 +508,8 @@

   # keep spec from getting loaded in parent shell for simplicity
   (
-    if whence spec; then print spec already loaded >&2; exit 1; fi
+    if [[ $(whence -v spec) = 'spec is a shell function from '$PWD/* ]]
+    then print spec already loaded >&2; exit 1; fi
     autoload -Uz $PWD/spec
     autoload -Uz $PWD/extra/spec
     spec
@@ -517,7 +518,8 @@
 >I have been loaded by explicit path.

   (
-    if whence spec; then print spec already loaded >&2; exit 1; fi
+    if [[ $(whence -v spec) = 'spec is a shell function from '$PWD/* ]]
+    then print spec already loaded >&2; exit 1; fi
     autoload -Uz $PWD/extra/spec
     autoload spec
     spec


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-11  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 20:24 5.8: test suite is failing Tomasz Kłoczko
2021-05-11  2:08 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).