travis-ci: install packages in 'ci/install-dependencies.sh'
[gitweb.git] / t / t7401-submodule-summary.sh
index 4e4c45550262ca75b36d15e80aa1f4bffc45465f..9bc841d085ee74cbc4a103b3c2f07c7e4b86e82d 100755 (executable)
@@ -64,8 +64,7 @@ test_expect_success 'added submodule (subdirectory only)' "
                cd sub &&
                git submodule summary . >../actual
        ) &&
-       >expected &&
-       test_cmp expected actual
+       test_must_be_empty actual
 "
 
 test_expect_success 'added submodule (subdirectory with explicit path)' "
@@ -301,7 +300,7 @@ test_expect_success 'should not fail in an empty repo' "
        git init xyzzy &&
        cd xyzzy &&
        git submodule summary >output 2>&1 &&
-       test_cmp output /dev/null
+       test_must_be_empty output
 "
 
 test_done