summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-12-17 15:06:39 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-12-17 15:06:39 -0800
commit9feed4e2a66aa0d0b0ca4371d0de1b478f62ae52 (patch)
treec40107380a20ab9d4f340b77774451a51e8d3943 /t
parentGit 2.30-rc0 (diff)
parentt7900: use --fixed-value in git-maintenance tests (diff)
downloadtgif-9feed4e2a66aa0d0b0ca4371d0de1b478f62ae52.tar.xz
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')
-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 &&