Skip to content

Commit

Permalink
WIP: set GIT_TEST_DATE_NOW in test_tick
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipwood committed Dec 19, 2024
1 parent 591bd5a commit f3cb737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/test-lib-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ test_tick () {
fi
GIT_COMMITTER_DATE="$test_tick -0700"
GIT_AUTHOR_DATE="$test_tick -0700"
export GIT_COMMITTER_DATE GIT_AUTHOR_DATE
GIT_TEST_DATE_NOW=$test_tick
export GIT_COMMITTER_DATE GIT_AUTHOR_DATE GIT_TEST_DATE_NOW
}

# Stop execution and start a shell. This is useful for debugging tests.
Expand Down

0 comments on commit f3cb737

Please sign in to comment.