t1400: switch hard-coded object ID to variable
[gitweb.git] / t / t5500-fetch-pack.sh
index 8f945235e3a94156de4dadaff5e944751f056372..1b5a4a6d380f37b0e616e5ca6c5fd5b732e6383d 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' '