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

Failing test for 5.5: C03traps, W02jobs



Hello,

I was trying to build a brand new zsh 5.5 but `make test` finished with two failures. Several people also reported one or both of this fails.

Relevant parts of test run:


./C03traps.ztst: starting.
--- /tmp/zsh.ztst.20164/ztst.out        2018-04-10 18:20:58.850200661 +0300
+++ /tmp/zsh.ztst.20164/ztst.tout       2018-04-10 18:20:58.851200661 +0300
@@ -1,3 +1 @@
-trap -- int INT
-trap -- quit QUIT
-trap -- sigterm TERM
+trap -- quit 3
Test ./C03traps.ztst failed: output differs from expected as shown above for:
  trap -
  trap
  trap int INT
  trap sigterm SIGTERM
  trap quit 3
  trap
Error output:
(eval):trap:3: undefined signal: INT
(eval):trap:4: undefined signal: SIGTERM
Was testing:  Outputting traps correctly
./C03traps.ztst: test failed.

./W02jobs.ztst: starting.
Pattern match failed:
<\[1] [0-9]##
<\[2] [0-9]##
<\[3] [0-9]##
<\[4] [0-9]##
<\[4]  ? terminate*sleep*
<\[3]  ? hangup*sleep*
<\[2]  ? interrupt*sleep*
<\[1]  ? kill*sleep*
>[1] 24886
>[2] 24887
>[3] 24888
>[4] 24889
>[4]  +            sleep 7
>kill: unknown signal: SIGHUP
>kill: type kill -l for a list of signals
>kill: unknown signal: SIGINT
>kill: type kill -l for a list of signals
>kill: unknown signal: SIGKILL
>kill: type kill -l for a list of signals
>zsh: you have running jobs.
>zsh: warning: 3 jobs SIGHUPed
Test ./W02jobs.ztst failed: output differs from expected as shown above for:
  zpty_start
  zpty_input 'sleep 10 & sleep 9 & sleep 8 & sleep 7 &'
  sleep 0.1
  zpty_input 'kill %4'
  sleep 0.1
  zpty_input 'kill -HUP %3'
  sleep 0.1
  zpty_input 'kill -INT %2'
  sleep 0.1
  zpty_input 'kill -KILL %1'
  sleep 0.1
  zpty_stop
Was testing: various `kill` signals with multiple running jobs
./W02jobs.ztst: test failed.

And you can see full build log here https://paste.pound-python.org/show/3j0cgbBbq6vfxPmPrutE/ in case if you need it.

Asking for help in investigating issues with build environment or zsh itself. 

-- 
Alexander "kapsh" Kapshuna
kapsh@xxxxxx



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