t3200 (branch): fix '&&' chaining
authorRamkumar Ramachandra <artagnon@gmail.com>
Thu, 8 Dec 2011 13:10:15 +0000 (18:40 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Dec 2011 00:01:47 +0000 (16:01 -0800)
commit2f139044f96227deb8332942627a04b29c70c2bf
tree2fad330f7671004d3fc178e7c516de8c56a3df8f
parent4cb5d10b14dcbe0155bed9c45ccb94e83bd4c599
t3200 (branch): fix '&&' chaining

Breaks in a test assertion's && chain can potentially hide failures
from earlier commands in the chain.  Fix these breaks.

The 'git branch --help' in the test may fail if git manual pages are
not installed, but the point of the test is to make sure it does not
create a bogus branch "--help", so run it under 'test_might_fail'.

Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh