git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t7900: add '--scheduler=launchctl' parameter to fix test

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Aug 27, 2021, 23:59 UTC
Message-ID
<17313607-7ae8-c37a-7931-7712c7bfdb88@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Lénaïc,

As I said, I had a test failure from your previous series (Linux Mint) which was solved with this patch.

ATB, Ramsay Jones

 t/t7900-maintenance.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh
index 8955aea9c8..36a4218745 100755
--- a/t/t7900-maintenance.sh
+++ b/t/t7900-maintenance.sh
@@ -609,11 +609,11 @@ test_expect_success 'start and stop macOS maintenance' '
 
 test_expect_success 'use launchctl list to prevent extra work' '
 	# ensure we are registered
-	GIT_TEST_MAINT_SCHEDULER=launchctl:./print-args git maintenance start &&
+	GIT_TEST_MAINT_SCHEDULER=launchctl:./print-args git maintenance start --scheduler=launchctl &&
 
 	# do it again on a fresh args file
 	rm -f args &&
-	GIT_TEST_MAINT_SCHEDULER=launchctl:./print-args git maintenance start &&
+	GIT_TEST_MAINT_SCHEDULER=launchctl:./print-args git maintenance start --scheduler=launchctl &&
 
 	ls "$HOME/Library/LaunchAgents" >actual &&
 	cat >expect <<-\EOF &&
-- 
2.33.0
Next: Junio C Hamano
Message 1 of 4 in “t7900: add '--scheduler=launchctl' parameter to fix test”
  1. t7900: add '--scheduler=launchctl' parameter to fix testRamsay Jones, Aug 27, 2021
  2. Junio C HamanoAug 30, 2021
  3. Ramsay JonesAug 31, 2021
  4. Junio C HamanoAug 31, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.