upload-pack: support hidden refs with protocol v2
[gitweb.git] / t / t6112-rev-list-filters-objects.sh
index 0a37dd5f97ee49fd65eff1c05d016abf2bcba38f..d4ff0b3bef61b5d3de1ab0fad4695949d80dc8fd 100755 (executable)
@@ -113,12 +113,11 @@ test_expect_success 'verify blob:limit=1k' '
 '
 
 test_expect_success 'verify blob:limit=1m' '
-       cat </dev/null >expected &&
        git -C r2 rev-list HEAD --quiet --objects --filter-print-omitted --filter=blob:limit=1m \
                | awk -f print_1.awk \
                | sed "s/~//" \
                | sort >observed &&
-       test_cmp observed expected
+       test_must_be_empty observed
 '
 
 # Test sparse:path=<path> filter.