We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
git maintenance start
1 parent 6138534 commit 94f58eeCopy full SHA for 94f58ee
t/t7900-maintenance.sh
@@ -652,11 +652,12 @@ test_expect_success 'start without GIT_TEST_MAINT_SCHEDULER' '
652
write_script script/crontab <<-EOF &&
653
echo "\$*" >>"$(pwd)"/crontab.log
654
EOF
655
+ PATHADD="$(pwd)/script" &&
656
git init repo &&
657
(
658
cd repo &&
659
sane_unset GIT_TEST_MAINT_SCHEDULER &&
- PATH="$(pwd)/../script:$PATH" git maintenance start --scheduler=crontab
660
+ PATH="$PATHADD:$PATH" git maintenance start --scheduler=crontab
661
) &&
662
test_grep -- -l crontab.log &&
663
test_grep -- git_cron_edit_tmp crontab.log
0 commit comments