diff tests/test-contrib.t @ 16971:8aeb2f1ae94c

tests: introduce hghave hardlinks Some tests can't be run on FAT filesystems because it doesn't support hardlinks.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 15 Jun 2012 00:02:27 +0200
parents 4f795f5fbb0b
children 94a22595f702
line wrap: on
line diff
--- a/tests/test-contrib.t	Fri Jun 15 00:02:27 2012 +0200
+++ b/tests/test-contrib.t	Fri Jun 15 00:02:27 2012 +0200
@@ -104,6 +104,8 @@
   [1]
 
 
+#if hardlink
+
 Test shrink-revlog:
   $ cd repo-a
   $ hg --config extensions.shrink="$CONTRIBDIR/shrink-revlog.py" shrink
@@ -127,6 +129,8 @@
   1 files, 3 changesets, 3 total revisions
   $ cd ..
 
+#endif
+
 Test simplemerge command:
 
   $ cp "$CONTRIBDIR/simplemerge" .