Git Mailing List Archive mirror
 help / color / mirror / Atom feed
* [PATCH] trace2 tests: fix PTHREADS prereq
@ 2023-05-25  3:12 Todd Zullinger
  2023-05-26  4:52 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Todd Zullinger @ 2023-05-25  3:12 UTC (permalink / raw)
  To: git
  Cc: Ævar Arnfjörð Bjarmason, Jeff Hostetler,
	Randall S . Becker

The prereq guard added in 14903c8e92 (trace2 tests: guard pthread test
with "PTHREAD", 2022-11-24) lacks the S in PTHREADS, causing it to never
be satisfied.  Fix the spelling of the prereq.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
 t/t0211-trace2-perf.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh
index b4e9135118..cfba686132 100755
--- a/t/t0211-trace2-perf.sh
+++ b/t/t0211-trace2-perf.sh
@@ -203,7 +203,7 @@ test_expect_success 'stopwatch timer test/test1' '
 	have_timer_event "main" "timer" "test" "test1" 5 actual
 '
 
-test_expect_success PTHREAD 'stopwatch timer test/test2' '
+test_expect_success PTHREADS 'stopwatch timer test/test2' '
 	test_when_finished "rm trace.perf actual" &&
 	test_config_global trace2.perfBrief 1 &&
 	test_config_global trace2.perfTarget "$(pwd)/trace.perf" &&
@@ -249,7 +249,7 @@ test_expect_success 'global counter test/test1' '
 	have_counter_event "main" "counter" "test" "test1" 15 actual
 '
 
-test_expect_success PTHREAD 'global counter test/test2' '
+test_expect_success PTHREADS 'global counter test/test2' '
 	test_when_finished "rm trace.perf actual" &&
 	test_config_global trace2.perfBrief 1 &&
 	test_config_global trace2.perfTarget "$(pwd)/trace.perf" &&

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] trace2 tests: fix PTHREADS prereq
  2023-05-25  3:12 [PATCH] trace2 tests: fix PTHREADS prereq Todd Zullinger
@ 2023-05-26  4:52 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2023-05-26  4:52 UTC (permalink / raw)
  To: Todd Zullinger
  Cc: git, Ævar Arnfjörð Bjarmason, Jeff Hostetler,
	Randall S . Becker

Todd Zullinger <tmz@pobox.com> writes:

> The prereq guard added in 14903c8e92 (trace2 tests: guard pthread test
> with "PTHREAD", 2022-11-24) lacks the S in PTHREADS, causing it to never
> be satisfied.  Fix the spelling of the prereq.

Nice spootting.  Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-26  4:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  3:12 [PATCH] trace2 tests: fix PTHREADS prereq Todd Zullinger
2023-05-26  4:52 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).