tests: use test_cmp instead of piping to diff(1)
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 14 Nov 2010 14:44:16 +0000 (14:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Nov 2010 18:57:19 +0000 (10:57 -0800)
commitf8d186bba72342fed45ed27e89e1bd1179f31545
tree295aa09f39021f07590ca5f14e68b8da70994f01
parent5649bd9a5174c5dbd1933b26275f7c7f50fd9224
tests: use test_cmp instead of piping to diff(1)

Change submodule tests that piped to diff(1) to use test_cmp. The
resulting unified diff is easier to read.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4041-diff-submodule-option.sh
t/t7401-submodule-summary.sh