Thread (19 messages) flat view 19 messages, 6 authors, 2016-06-15

Re: [PATCH] t/t3903-stash: improve testing of git-stash show

From: Brian Gernhardt <hidden>
Date: 2016-06-15 22:49:36

On Sep 24, 2010, at 4:40 PM, Brandon Casey wrote:
From: Brandon Casey <redacted>

Recently, the 'stash show' functionality was broken for the case when a
stash-like argument was supplied.  Since, commit 9bf09e, 'stash show' when
supplied a stash-like argument prints nothing and still exists with a zero
status.  Unfortunately, the flaw slipped through the test suite cracks
since the output of 'stash show' was not verified to be correct.

Improve and expand on the existing tests so that this flaws is detected.

Signed-off-by: Brandon Casey <redacted>
---


On 09/24/2010 03:27 PM, Brian Gernhardt wrote:
quoted
I bisected the issue to a9bf09e (detached-stash: simplify git stash show),
which is when "git stash show" started using parse_flags_and_rev (via
assert_stash_like()).

More worrying to me is that the tests for "git stash show" don't bother
to test the output.  I'll be working on that now.
I was preparing these tests when your email came in.
I spent longer finding the source of the problem than you did.  I was just putting the finishing touches on it when I got this.  Yours is more through than mine, so I won't bother finishing.

~~ Brian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help