summaryrefslogtreecommitdiff
path: root/t/t1507-rev-parse-upstream.sh
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2015-10-19 15:48:15 -0400
committerJunio C Hamano <gitster@pobox.com>2015-10-19 18:32:28 -0700
commit9b680fbd3b47f39e44fe989971676996d4744ed7 (patch)
treeb8a4157074226bb05faf16ef5cdd3452af5df36f /t/t1507-rev-parse-upstream.sh
parent73f9145fbf748d39dd1e145ec846a5481cf7a36f (diff)
downloadgit-9b680fbd3b47f39e44fe989971676996d4744ed7.tar.gz
t7063: fix flaky untracked-cache testdt/t7063-fix-flaky-test
Dirty the test worktree's root directory, as the test expects. When testing the untracked-cache, we previously assumed that checking out master would be sufficient to mark the mtime of the worktree's root directory as racily-dirty. But sometimes, the checkout would happen at 12345.999 seconds and the status at 12346.001 seconds, meaning that the worktree's root directory would not be racily-dirty. And since it was not truly dirty, occasionally the test would fail. By making the root truly dirty, the test will always succeed. Tested by running a few hundred times. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1507-rev-parse-upstream.sh')
0 files changed, 0 insertions, 0 deletions