[04/15] t1305: avoid comparing extensions
diff mbox series

Message ID 20191005211209.18237-5-sandals@crustytoothpaste.net
State New
Headers show
  • SHA-256 test fixes, part 6
Related show

Commit Message

brian m. carlson Oct. 5, 2019, 9:11 p.m. UTC
A repository using a hash other than SHA-1 will need to have an
extension in the config file.  Ignore any extensions when comparing
config files, since they don't usefully contribute to the goal of the

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
 t/t1305-config-include.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/t/t1305-config-include.sh b/t/t1305-config-include.sh
index d20b4d150d..f1e1b289f9 100755
--- a/t/t1305-config-include.sh
+++ b/t/t1305-config-include.sh
@@ -63,7 +63,7 @@  test_expect_success 'listing includes option and expansion' '
 	git config --list >actual.full &&
-	grep -v ^core actual.full >actual &&
+	grep -v -e ^core -e ^extensions actual.full >actual &&
 	test_cmp expect actual