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.
--- 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