t9502: fix &&-chain breakage
commitd8cd32792a0a8a52ff4f5f4bb74f9044bcb9a97a
authorJeff King <peff@peff.net>
Fri, 20 Mar 2015 10:13:01 +0000 (20 06:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 18:35:50 +0000 (20 11:35 -0700)
tree6a18e82c7d032ce407407ab62d6072a794063c4c
parentaef591a0f91a80d2b39c5344653861967d70d720
t9502: fix &&-chain breakage

This script misses a trivial &&-chain in one of its tests,
but it also has a weird reverse: it includes an &&-chain
outside of any test_expect block! This "cat" should never
fail, but if it did, we would not notice, as it would cause
us to skip the follow-on test entirely (which does not
appear intentional; there are many later tests which rely on
this cat).

Let's instead move the setup into its own test_expect_success
block, which is the standard practice nowadays.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9502-gitweb-standalone-parse-output.sh