Thread (1 message) 1 message, 1 author, 2021-01-23

Re: [PATCH v2 7/8] test-lib: test_region looks for trace2 regions

From: Junio C Hamano <hidden>
Date: 2021-01-23 18:51:48

Derrick Stolee [off-list ref] writes:
quoted
quoted
+	if test $exitcode != $expect_exit
... this will not trigger and we return "success" (i.e. "failed as
expected")?
Am I misunderstanding something here? If exitcode is 2, then this
will always trigger and return 1, signaling a failure.
Are, please disregard.  Yes, the above does the right thing already.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help