t/t3903-stash: improve testing of git-stash show
commit3fcb88785da831ad7d53cf18b4398099179c9c87
authorBrandon Casey <drafnel@gmail.com>
Fri, 24 Sep 2010 20:40:38 +0000 (24 15:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Sep 2010 04:25:40 +0000 (26 21:25 -0700)
tree85084a60bccb43d8c3b875e2981bc55867bc88f9
parent87b50542a08ac6caa083ddc376e674424e37940a
t/t3903-stash: improve testing of git-stash show

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 <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3903-stash.sh