]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5500-fetch-pack.sh
tests: use 'test_must_be_empty' instead of '! test -s'
[thirdparty/git.git] / t / t5500-fetch-pack.sh
index 3d33ab3875383f4f71b486bfd3f2fce342e00474..07fcea04741afb362ec728a17eb1eaa283463b5f 100755 (executable)
@@ -161,7 +161,7 @@ test_expect_success 'clone shallow object count' '
 test_expect_success 'clone shallow object count (part 2)' '
        sed -e "/^in-pack:/d" -e "/^packs:/d" -e "/^size-pack:/d" \
            -e "/: 0$/d" count.shallow > count_output &&
-       ! test -s count_output
+       test_must_be_empty count_output
 '
 
 test_expect_success 'fsck in shallow repo' '