Skip to content

Commit

Permalink
Merge branch 'rs/parallel-checkout-test-fix'
Browse files Browse the repository at this point in the history
Test fix.

* rs/parallel-checkout-test-fix:
  parallel-checkout: avoid dash local bug in tests
  • Loading branch information
gitster committed Jun 6, 2021
2 parents 0481af9 + ebee558 commit 0d3505e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/lib-parallel-checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_checkout_workers () {
rm -f "$trace_file" &&
GIT_TRACE2="$(pwd)/$trace_file" "$@" 2>&8 &&

local workers=$(grep "child_start\[..*\] git checkout--worker" "$trace_file" | wc -l) &&
local workers="$(grep "child_start\[..*\] git checkout--worker" "$trace_file" | wc -l)" &&
test $workers -eq $expected_workers &&
rm "$trace_file"
} 8>&2 2>&4
Expand Down

0 comments on commit 0d3505e

Please sign in to comment.