From 4489382a5b90216b381cca0e4e1ceed228f634f2 Mon Sep 17 00:00:00 2001 From: Kristoffer Haugsbakk Date: Sat, 14 Oct 2023 23:45:57 +0200 Subject: [PATCH] t7900: fix `pfx` dependency Test `start and stop when several schedulers are available` depends on `pfx` from `start and stop macOS maintenance`. Duplicate the behavior. Signed-off-by: Kristoffer Haugsbakk Signed-off-by: Junio C Hamano --- t/t7900-maintenance.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh index ebde3e8a21..15a8653b58 100755 --- a/t/t7900-maintenance.sh +++ b/t/t7900-maintenance.sh @@ -794,6 +794,7 @@ test_expect_success 'start and stop Linux/systemd maintenance' ' ' test_expect_success 'start and stop when several schedulers are available' ' + pfx=$(cd "$HOME" && pwd) && write_script print-args <<-\EOF && printf "%s\n" "$*" | sed "s:gui/[0-9][0-9]*:gui/[UID]:; s:\(schtasks /create .* /xml\).*:\1:;" >>args EOF