> +test_expect_success 'git rev-parse --flags -> ""' \ > +' > + Â Â Â output=$(git rev-parse --flags) && > + Â Â Â expected="" && > + Â Â Â test "${output}" = "${expected}" > +' > + > +test_expect_success 'git rev-parse --flags X -> ""' \ > +' > + Â Â Â output=$(git rev-parse --flags X) && > + Â Â Â expected="" && > + Â Â Â test "${output}" = "${expected}" > +' > + Please use test_cmp throughout the test instead: >expect && git rev-parse --flags >actual && test_cmp expect actual etc. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html