tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'
[gitweb.git] / t / t0001-init.sh
index 4c865051e7dd3d27eee0e2666b4aaaaa46116d5c..28f34fd3bd3c0ab2b24138fcaff413823208f5a1 100755 (executable)
@@ -167,9 +167,8 @@ test_expect_success 'reinit' '
        ) &&
        test_i18ngrep "Initialized empty" again/out1 &&
        test_i18ngrep "Reinitialized existing" again/out2 &&
-       >again/empty &&
-       test_i18ncmp again/empty again/err1 &&
-       test_i18ncmp again/empty again/err2
+       test_must_be_empty again/err1 &&
+       test_must_be_empty again/err2
 '
 
 test_expect_success 'init with --template' '