Hi, On Tue, 29 Jul 2008, Johannes Schindelin wrote: > BTW I have no idea how we could test for this, short of introducing the > "sleep 1" I did earlier. Maybe guard it with a TEST_EXPENSIVE_CTIME > variable or something similar. Dunno. IOW something like this squashed into your patch: -- snipsnap -- t/t7001-mv.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index b0fa407..c749059 100755 --- a/t/t7001-mv.sh +++ b/t/t7001-mv.sh @@ -179,6 +179,10 @@ test_expect_success 'git mv should overwrite symlink to a file' ' git init && echo 1 >moved && ln -s moved symlink && + if test ! -z "$TEST_EXPENSIVE_CTIME" + then + sleep 1 + fi && git add moved symlink && test_must_fail git mv moved symlink && git mv -f moved symlink && -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html