Test `use launchctl list to prevent extra work` depends on `print-args` from `start and stop macOS maintenance`. Duplicate the script writing. Signed-off-by: Kristoffer Haugsbakk <code@xxxxxxxxxxxxxxx> --- t/t7900-maintenance.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh index 15a8653b583..99279e41787 100755 --- a/t/t7900-maintenance.sh +++ b/t/t7900-maintenance.sh @@ -709,6 +709,9 @@ test_expect_success 'start and stop macOS maintenance' ' ' test_expect_success 'use launchctl list to prevent extra work' ' + write_script print-args <<-\EOF && + echo $* | sed "s:gui/[0-9][0-9]*:gui/[UID]:" >>args + EOF # ensure we are registered GIT_TEST_MAINT_SCHEDULER=launchctl:./print-args git maintenance start --scheduler=launchctl && -- 2.42.0.2.g879ad04204