| 1 | test_expect_success 'loop-upstream-pipe' ' |
| 2 | ( |
| 3 | git rev-list --objects --no-object-names base..loose | |
| 4 | while read oid |
| 5 | do |
| 6 | # LINT: "|| echo" signals failure in loop upstream of a pipe |
| 7 | path="$objdir/$(test_oid_to_path "$oid")" && |
| 8 | printf "%s %d\n" "$oid" "$(test-tool chmtime --get "$path")" || |
| 9 | echo "object list generation failed for $oid" |
| 10 | done | |
| 11 | sort -k1 |
| 12 | ) >expect && |
| 13 | ' |