Mercurial > hg
changeset 27789:63116d47cc3f
tests: non-GNU mv can't move a file onto a hardlink of itself
On Solaris, when you try to mv a file to another path that is a hardlink to
the original, it complains that they're identical. GNU mv doesn't
complain, but it's simpler to just remove the original file instead.
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Thu, 14 Jan 2016 13:33:08 -0800 |
parents | d713fa934fb9 |
children | 2d294dada4f8 |
files | tests/test-largefiles-update.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-largefiles-update.t Thu Jan 07 06:44:37 2016 +0100 +++ b/tests/test-largefiles-update.t Thu Jan 14 13:33:08 2016 -0800 @@ -160,7 +160,7 @@ (branch merge, don't forget to commit) $ hg commit -m '1-2-3 testing' $ hg rollback -q - $ mv 58e24f733a964da346e2407a2bee99d9001184f5 .hg/largefiles/ + $ rm 58e24f733a964da346e2407a2bee99d9001184f5 Test that "hg revert -r REV" updates largefiles from "REV" correctly