zsh-workers
 help / color / Atom feed
* E02xtrace test failed
@ 2020-03-22 14:12 Vin Shelton
  2020-03-22 18:53 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Vin Shelton @ 2020-03-22 14:12 UTC (permalink / raw)
  To: Zsh Hackers' List

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

Daniel et al -

With today's build, I'm seeing a failure on the E02xtrace test:

../../../src/zsh-2020-03-22/Test/E01options.ztst: all tests successful.
../../../src/zsh-2020-03-22/Test/E02xtrace.ztst: starting.
Test ../../../src/zsh-2020-03-22/Test/E02xtrace.ztst failed: bad status 1,
expected 0 from:
 function -T -- -T { echo trace function literally named "-T" }
 -T
 function -T -- { echo trace anonymous function }
 functions -- -- # no output
Error output:
+-T:0> echo trace function literally named -T
+(anon):0> echo trace anonymous function
Was testing: define traced function: parse test
../../../src/zsh-2020-03-22/Test/E02xtrace.ztst: test failed.

Please let me know if you need further investigation.

Regards,
  Vin

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

* Re: E02xtrace test failed
  2020-03-22 14:12 E02xtrace test failed Vin Shelton
@ 2020-03-22 18:53 ` Peter Stephenson
  2020-03-22 23:18   ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2020-03-22 18:53 UTC (permalink / raw)
  To: zsh-workers

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

On Sun, 2020-03-22 at 10:12 -0400, Vin Shelton wrote:
> Daniel et al -
> 
> With today's build, I'm seeing a failure on the E02xtrace test:

I believe it's simply the status that's wrong --- the status is
indeed 1 if no function matches, which is the correct result.

pws


[-- Attachment #2: status.dif --]
[-- Type: text/x-patch, Size: 450 bytes --]

diff --git a/Test/E02xtrace.ztst b/Test/E02xtrace.ztst
index 8b9cc89a8..25173b2e8 100644
--- a/Test/E02xtrace.ztst
+++ b/Test/E02xtrace.ztst
@@ -203,7 +203,7 @@
  -T
  function -T -- { echo trace anonymous function }
  functions -- -- # no output
-0:define traced function: parse test
+1:define traced function: parse test
 ?+-T:0> echo trace function literally named -T
 >trace function literally named -T
 ?+(anon):0> echo trace anonymous function

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

* Re: E02xtrace test failed
  2020-03-22 18:53 ` Peter Stephenson
@ 2020-03-22 23:18   ` Daniel Shahaf
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Shahaf @ 2020-03-22 23:18 UTC (permalink / raw)
  To: zsh-workers

Peter Stephenson wrote on Sun, 22 Mar 2020 18:53 +0000:
> On Sun, 2020-03-22 at 10:12 -0400, Vin Shelton wrote:
> > Daniel et al -
> > 
> > With today's build, I'm seeing a failure on the E02xtrace test:  
> 
> I believe it's simply the status that's wrong --- the status is
> indeed 1 if no function matches, which is the correct result.

Thank you both.  I distinctly remember running tests on that series
before posting it; I wonder what went awry…


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 14:12 E02xtrace test failed Vin Shelton
2020-03-22 18:53 ` Peter Stephenson
2020-03-22 23:18   ` Daniel Shahaf

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git