summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-06-06 15:39:10 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-06 15:39:10 +0900
commit0d3505e286d64a351631fc8d7a5a92cb29832f16 (patch)
tree598c1fd965f19159862de9a5245c483838586856 /t
parentMerge branch 'jc/fsync-can-fail-with-eintr' (diff)
parentparallel-checkout: avoid dash local bug in tests (diff)
downloadtgif-0d3505e286d64a351631fc8d7a5a92cb29832f16.tar.xz
Merge branch 'rs/parallel-checkout-test-fix'
Test fix. * rs/parallel-checkout-test-fix: parallel-checkout: avoid dash local bug in tests
Diffstat (limited to 't')
-rw-r--r--t/lib-parallel-checkout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-parallel-checkout.sh b/t/lib-parallel-checkout.sh
index 21f5759732..83b279a846 100644
--- a/t/lib-parallel-checkout.sh
+++ b/t/lib-parallel-checkout.sh
@@ -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