@@ -116,7 +116,7 @@ test_expect_success 'do partial clone 1, backfill gets all objects' '
116116 -C backfill1 backfill &&
117117
118118 # We should have engaged the partial clone machinery
119- test_trace2_data promisor fetch_count 48 <backfill-file-trace &&
119+ test_trace2_data_singular promisor fetch_count 48 <backfill-file-trace &&
120120
121121 # No more missing objects!
122122 git -C backfill1 rev-list --quiet --objects --missing=print HEAD >revs2 &&
@@ -160,8 +160,8 @@ test_expect_success 'backfill --sparse' '
160160 # older versions of the four files at tip.
161161 GIT_TRACE2_EVENT="$(pwd)/sparse-trace1" git \
162162 -C backfill3 backfill --sparse &&
163- test_trace2_data promisor fetch_count 4 <sparse-trace1 &&
164- test_trace2_data path-walk paths 5 <sparse-trace1 &&
163+ test_trace2_data_singular promisor fetch_count 4 <sparse-trace1 &&
164+ test_trace2_data_singular path-walk paths 5 <sparse-trace1 &&
165165 git -C backfill3 rev-list --quiet --objects --missing=print HEAD >missing &&
166166 test_line_count = 40 missing &&
167167
@@ -172,8 +172,8 @@ test_expect_success 'backfill --sparse' '
172172 git -C backfill3 sparse-checkout set d &&
173173 GIT_TRACE2_EVENT="$(pwd)/sparse-trace2" git \
174174 -C backfill3 backfill --sparse &&
175- test_trace2_data promisor fetch_count 8 <sparse-trace2 &&
176- test_trace2_data path-walk paths 15 <sparse-trace2 &&
175+ test_trace2_data_singular promisor fetch_count 8 <sparse-trace2 &&
176+ test_trace2_data_singular path-walk paths 15 <sparse-trace2 &&
177177 git -C backfill3 rev-list --quiet --objects --missing=print HEAD >missing &&
178178 test_line_count = 24 missing &&
179179
@@ -194,8 +194,8 @@ test_expect_success 'backfill auto-detects sparse-checkout from config' '
194194 GIT_TRACE2_EVENT="$(pwd)/auto-sparse-trace" git \
195195 -C backfill-auto-sparse backfill &&
196196
197- test_trace2_data promisor fetch_count 4 <auto-sparse-trace &&
198- test_trace2_data path-walk paths 5 <auto-sparse-trace
197+ test_trace2_data_singular promisor fetch_count 4 <auto-sparse-trace &&
198+ test_trace2_data_singular path-walk paths 5 <auto-sparse-trace
199199'
200200
201201test_expect_success ' backfill --sparse without cone mode (positive)' '
@@ -218,10 +218,10 @@ test_expect_success 'backfill --sparse without cone mode (positive)' '
218218
219219 GIT_TRACE2_EVENT="$(pwd)/no-cone-trace1" git \
220220 -C backfill4 backfill --sparse &&
221- test_trace2_data promisor fetch_count 6 <no-cone-trace1 &&
221+ test_trace2_data_singular promisor fetch_count 6 <no-cone-trace1 &&
222222
223223 # This walk needed to visit all directories to search for these paths.
224- test_trace2_data path-walk paths 12 <no-cone-trace1 &&
224+ test_trace2_data_singular path-walk paths 12 <no-cone-trace1 &&
225225 git -C backfill4 rev-list --quiet --objects --missing=print HEAD >missing &&
226226 test_line_count = 36 missing
227227'
@@ -246,11 +246,11 @@ test_expect_success 'backfill --sparse without cone mode (negative)' '
246246
247247 GIT_TRACE2_EVENT="$(pwd)/no-cone-trace2" git \
248248 -C backfill5 backfill --sparse &&
249- test_trace2_data promisor fetch_count 18 <no-cone-trace2 &&
249+ test_trace2_data_singular promisor fetch_count 18 <no-cone-trace2 &&
250250
251251 # This walk needed to visit all directories to search for these paths, plus
252252 # 12 extra "file.?.txt" paths than the previous test.
253- test_trace2_data path-walk paths 24 <no-cone-trace2 &&
253+ test_trace2_data_singular path-walk paths 24 <no-cone-trace2 &&
254254 git -C backfill5 rev-list --quiet --objects --missing=print HEAD >missing &&
255255 test_line_count = 12 missing
256256'
@@ -268,7 +268,7 @@ test_expect_success 'backfill with revision range' '
268268 GIT_TRACE2_EVENT="$(pwd)/backfill-trace" git -C backfill-revs backfill HEAD~2..HEAD &&
269269
270270 # 36 objects downloaded, 12 still missing
271- test_trace2_data promisor fetch_count 36 <backfill-trace &&
271+ test_trace2_data_singular promisor fetch_count 36 <backfill-trace &&
272272 git -C backfill-revs rev-list --quiet --objects --missing=print HEAD >missing &&
273273 test_line_count = 12 missing
274274'
@@ -288,10 +288,10 @@ test_expect_success 'backfill with revisions over stdin' '
288288 ^HEAD~2
289289 EOF
290290
291- GIT_TRACE2_EVENT="$(pwd)/backfill-trace" git -C backfill-revs backfill --stdin <in &&
291+ GIT_TRACE2_EVENT="$(pwd)/backfill-stdin- trace" git -C backfill-revs backfill --stdin <in &&
292292
293293 # 36 objects downloaded, 12 still missing
294- test_trace2_data promisor fetch_count 36 <backfill-trace &&
294+ test_trace2_data_singular promisor fetch_count 36 <backfill-stdin -trace &&
295295 git -C backfill-revs rev-list --quiet --objects --missing=print HEAD >missing &&
296296 test_line_count = 12 missing
297297'
@@ -523,7 +523,7 @@ test_expect_success 'backfilling over HTTP succeeds' '
523523 -C backfill-http backfill &&
524524
525525 # We should have engaged the partial clone machinery
526- test_trace2_data promisor fetch_count 48 <backfill-http-trace &&
526+ test_trace2_data_singular promisor fetch_count 48 <backfill-http-trace &&
527527
528528 # Confirm all objects are present, none missing.
529529 git -C backfill-http rev-list --objects --all >rev-list-out &&
0 commit comments