[PATCH] tests: skip test-lfconvert.t if not support symblic link

Takumi IINO trot.thunder at gmail.com
Thu Mar 29 13:23:45 UTC 2012


# HG changeset patch
# User Takumi IINO <trot.thunder at gmail.com>
# Date 1333027016 -32400
# Node ID ad33cb19277756cb54bdd7ba9cb9267881c2957c
# Parent  ba42eb722bb39e702c54b7a6fa7a703d4ba2cec3
tests: skip test-lfconvert.t if not support symblic link

Windows not support symbolic link. but test-lfconvert.t
execute 'ln -s' command.

@@ -51,8 +51,6 @@
   skipping incorrectly formatted tag IncorrectlyFormattedTag!
   skipping incorrectly formatted id invalidhash
   no mapping for id 0123456789abcdef
-  abort: renamed/copied largefile large3 becomes symlink
-  [255]
   $ cd bigfile-repo
   $ hg strip --no-backup 2
   0 files updated, 0 files merged, 2 files removed, 0 files unresolved

ERROR: test-lfconvert.t output changed

diff --git a/tests/test-lfconvert.t b/tests/test-lfconvert.t
--- a/tests/test-lfconvert.t
+++ b/tests/test-lfconvert.t
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" symlink || exit 80
+
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
   > largefiles =



More information about the Mercurial-devel mailing list