archive: initialize archivers earlier
[gitweb.git] / t / t7610-mergetool.sh
index b18503de8158aa6583423f923675d415ab408e76..a9fb971615b7f40bd17f16dcc1ce99ab2c0930ca 100755 (executable)
@@ -328,9 +328,8 @@ test_expect_success 'mergetool produces no errors when keepBackup is used' '
        git checkout -b test$test_count move-to-c &&
        test_config mergetool.keepBackup true &&
        test_must_fail git merge move-to-b &&
-       : >expect &&
        echo d | git mergetool a/a/file.txt 2>actual &&
-       test_cmp expect actual &&
+       test_must_be_empty actual &&
        ! test -d a
 '