summaryrefslogtreecommitdiff
path: root/t/t7900-maintenance.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-12-17 15:06:39 -0800
committerJunio C Hamano <gitster@pobox.com>2020-12-17 15:06:39 -0800
commit9feed4e2a66aa0d0b0ca4371d0de1b478f62ae52 (patch)
treec40107380a20ab9d4f340b77774451a51e8d3943 /t/t7900-maintenance.sh
parent1c52ecf4ba0f4f7af72775695fee653f50737c71 (diff)
parent610a3fc9536d7016fd850d622f41bf884c290062 (diff)
downloadgit-9feed4e2a66aa0d0b0ca4371d0de1b478f62ae52.tar.gz
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
Diffstat (limited to 't/t7900-maintenance.sh')
-rwxr-xr-xt/t7900-maintenance.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh
index e987b44f87..d1e0c8f830 100755
--- a/t/t7900-maintenance.sh
+++ b/t/t7900-maintenance.sh
@@ -422,7 +422,7 @@ test_expect_success 'start from empty cron table' '
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance start &&
# start registers the repo
- git config --get --global maintenance.repo "$(pwd)" &&
+ git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
grep "for-each-repo --config=maintenance.repo maintenance run --schedule=daily" cron.txt &&
grep "for-each-repo --config=maintenance.repo maintenance run --schedule=hourly" cron.txt &&
@@ -433,7 +433,7 @@ test_expect_success 'stop from existing schedule' '
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance stop &&
# stop does not unregister the repo
- git config --get --global maintenance.repo "$(pwd)" &&
+ git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
# Operation is idempotent
GIT_TEST_CRONTAB="test-tool crontab cron.txt" git maintenance stop &&