t/t7500-commit.sh: use test_cmp instead of test