t3000: use test_cmp instead of diff