Skip to content

Commit 9feed4e

Browse files
committed
Merge branch 'js/t7900-protect-pwd-in-config-get'
Hotfix for test breakage. * js/t7900-protect-pwd-in-config-get: t7900: use --fixed-value in git-maintenance tests
2 parents 1c52ecf + 610a3fc commit 9feed4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t7900-maintenance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ test_expect_success 'start from empty cron table' '
422422
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance start &&
423423
424424
# start registers the repo
425-
git config --get --global maintenance.repo "$(pwd)" &&
425+
git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
426426
427427
grep "for-each-repo --config=maintenance.repo maintenance run --schedule=daily" cron.txt &&
428428
grep "for-each-repo --config=maintenance.repo maintenance run --schedule=hourly" cron.txt &&
@@ -433,7 +433,7 @@ test_expect_success 'stop from existing schedule' '
433433
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance stop &&
434434
435435
# stop does not unregister the repo
436-
git config --get --global maintenance.repo "$(pwd)" &&
436+
git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
437437
438438
# Operation is idempotent
439439
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance stop &&

0 commit comments

Comments
 (0)