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

Re: PATH: autoload with explicit path



(Peter I copied you directly because email from my gmail account has been
bouncing.)

I am seeing two failures with the latest updates, see below.  Please let me
know if you need more info.

Regards,
  Vin


cd Test ; make check
make[1]: Entering directory '/SSD-2TB/opt/build/zsh-2017-01-29/Test'
if test -n "gcc"; then \
  cd .. && DESTDIR= \
  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
if ZTST_testlist="`for f in /opt/src/zsh-2017-01-29/Test/*.ztst; \
           do echo $f; done`" \
 ZTST_srcdir="/opt/src/zsh-2017-01-29/Test" \
 ZTST_exe=../Src/zsh \
 ../Src/zsh +Z -f /opt/src/zsh-2017-01-29/Test/runtests.zsh; then \
 stat=0; \
else \
 stat=1; \
fi; \
sleep 1; \
rm -rf Modules .zcompdump; \
exit $stat
/opt/src/zsh-2017-01-29/Test/A01grammar.ztst: starting.
This test hangs the shell when it fails...
/opt/src/zsh-2017-01-29/Test/A01grammar.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/A02alias.ztst: starting.
This test hangs the shell when it fails...
/opt/src/zsh-2017-01-29/Test/A02alias.ztst: all tests successful.

/opt/src/zsh-2017-01-29/Test/A03quoting.ztst: starting.
/opt/src/zsh-2017-01-29/Test/A03quoting.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/A04redirect.ztst: starting.
/opt/src/zsh-2017-01-29/Test/A04redirect.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/A05execution.ztst: starting.
This test takes 5 seconds to fail...
This test takes 3 seconds and hangs the shell when it fails...
/opt/src/zsh-2017-01-29/Test/A05execution.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/A06assign.ztst: starting.
/opt/src/zsh-2017-01-29/Test/A06assign.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/A07control.ztst: starting.
/opt/src/zsh-2017-01-29/Test/A07control.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B01cd.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B01cd.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B02typeset.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B02typeset.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B03print.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B03print.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B04read.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B04read.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B05eval.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B05eval.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B06fc.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B06fc.ztst: all tests successful.

/opt/src/zsh-2017-01-29/Test/B07emulate.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B07emulate.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B08shift.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B08shift.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/B09hash.ztst: starting.
/opt/src/zsh-2017-01-29/Test/B09hash.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/C01arith.ztst: starting.
/opt/src/zsh-2017-01-29/Test/C01arith.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/C02cond.ztst: starting.
This test takes two seconds...
/opt/src/zsh-2017-01-29/Test/C02cond.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/C03traps.ztst: starting.
This test takes at least three seconds...
This test, too, takes at least three seconds...
Another test that takes three seconds
/opt/src/zsh-2017-01-29/Test/C03traps.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/C04funcdef.ztst: starting.
--- /tmp/zsh.ztst.11675/ztst.out 2017-01-29 16:48:50.438882533 -0500
+++ /tmp/zsh.ztst.11675/ztst.tout 2017-01-29 16:48:50.442882549 -0500
@@ -1 +1 @@
-oops is a shell function from CURDIR/oops
+oops is a shell function from /SSD-2TBCURDIR/oops
Test /opt/src/zsh-2017-01-29/Test/C04funcdef.ztst failed: output differs
from expected as shown above for:
  (
    fpath=(.)
    printf '%s\n' 'oops(){}' 'ninjas-earring(){}' 'oops "$@"' >oops
    autoload oops
    oops
    whence -v oops | sed -e "s%$PWD%CURDIR%"
  )
Was testing: whence -v of zsh-style autoload
/opt/src/zsh-2017-01-29/Test/C04funcdef.ztst: test failed.
/opt/src/zsh-2017-01-29/Test/C05debug.ztst: starting.
/opt/src/zsh-2017-01-29/Test/C05debug.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D01prompt.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D01prompt.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D02glob.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D02glob.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D03procsubst.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D03procsubst.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D04parameter.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D04parameter.ztst: all tests successful.

/opt/src/zsh-2017-01-29/Test/D05array.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D05array.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D06subscript.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D06subscript.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D07multibyte.ztst: starting.
Testing multibyte with locale en_US.UTF-8
Test case skipped: No Polish UTF-8 locale found, skipping sort test
/opt/src/zsh-2017-01-29/Test/D07multibyte.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D08cmdsubst.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D08cmdsubst.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/D09brace.ztst: starting.
/opt/src/zsh-2017-01-29/Test/D09brace.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/E01options.ztst: starting.
This test hangs the shell when it fails...
/opt/src/zsh-2017-01-29/Test/E01options.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/E02xtrace.ztst: starting.
/opt/src/zsh-2017-01-29/Test/E02xtrace.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V01zmodload.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V01zmodload.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V02zregexparse.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V02zregexparse.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V03mathfunc.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V03mathfunc.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V04features.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V04features.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V05styles.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V05styles.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V06parameter.ztst: starting.
--- /tmp/zsh.ztst.14908/ztst.out 2017-01-29 16:48:55.798904574 -0500
+++ /tmp/zsh.ztst.14908/ztst.tout 2017-01-29 16:48:55.802904591 -0500
@@ -3,8 +3,8 @@
 Inside function fn
 2 + ./functrace.zsh:10 + ./functrace.zsh:5
 Inside autofn
-2 + ./functrace.zsh:20 + CURDIR/autofn:0
+2 + ./functrace.zsh:20 + /SSD-2TB/opt/build/zsh-2017-01-29/Test/autofn:0
 Inside autofn
-2 + ./functrace.zsh:21 + CURDIR/autofn:0
+2 + ./functrace.zsh:21 + /SSD-2TB/opt/build/zsh-2017-01-29/Test/autofn:0
 In sourced file
 2 + ./functrace.zsh:22 + ./sourcedfile:0
Test /opt/src/zsh-2017-01-29/Test/V06parameter.ztst failed: output differs
from expected as shown above for:
  print 'print In sourced file
  print $LINENO + $functrace + ${funcsourcetrace/#$PWD/CURDIR}
  ' >sourcedfile
  print -r -- 'print Started functrace.zsh
  module_path=(./Modules)
  print $LINENO + $functrace + ${funcsourcetrace/#$PWD/CURDIR}
  :
  fn() {
    print Inside function $0
    print $LINENO + $functrace + ${funcsourcetrace/#$PWD/CURDIR}
  }
  :
  fn
  :
  fpath=(. $fpath)
  :
  echo '\''print Inside $0
    print $LINENO + $functrace + ${funcsourcetrace/#$PWD/CURDIR}
  '\'' >autofn
  :
  autoload autofn
  :
  autofn
  autofn
  . ./sourcedfile' >functrace.zsh
  $ZTST_testdir/../Src/zsh +Z -f ./functrace.zsh
Was testing: Function tracing
/opt/src/zsh-2017-01-29/Test/V06parameter.ztst: test failed.
/opt/src/zsh-2017-01-29/Test/V07pcre.ztst: starting.
Testing PCRE multibyte with locale en_US.UTF-8
/opt/src/zsh-2017-01-29/Test/V07pcre.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V08zpty.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V08zpty.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V09datetime.ztst: starting.
Test case skipped: Japanese UTF-8 locale not supported
/opt/src/zsh-2017-01-29/Test/V09datetime.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/V10private.ztst: starting.
/opt/src/zsh-2017-01-29/Test/V10private.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/W01history.ztst: starting.
History tests write to /dev/tty
  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 )

/opt/src/zsh-2017-01-29/Test/W01history.ztst: all tests successful.

/opt/src/zsh-2017-01-29/Test/X02zlevi.ztst: starting.
This test may hang the shell when it fails...
/opt/src/zsh-2017-01-29/Test/X02zlevi.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/X03zlebindkey.ztst: starting.
/opt/src/zsh-2017-01-29/Test/X03zlebindkey.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/Y01completion.ztst: starting.
/opt/src/zsh-2017-01-29/Test/Y01completion.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/Y02compmatch.ztst: starting.
/opt/src/zsh-2017-01-29/Test/Y02compmatch.ztst: all tests successful.
/opt/src/zsh-2017-01-29/Test/Y03arguments.ztst: starting.
/opt/src/zsh-2017-01-29/Test/Y03arguments.ztst: all tests successful.
**************************************
46 successful test scripts, 2 failures, 0 skipped
**************************************
Makefile:187: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/SSD-2TB/opt/build/zsh-2017-01-29/Test'
Makefile:263: recipe for target 'check' failed
make: *** [check] Error 2
check_zsh: make check failed with error code 2.  See /tmp/zsh_check2065.out.


-- 
And my clothes don't fit me no more
I walked a thousand miles
Just to slip this skin


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