tests: 'hghave unix-permissions' for test-import.t
authorMads Kiilerich <mads@kiilerich.com>
Mon, 21 Nov 2011 00:39:32 +0100
changeset 15540 ad2c5561cada
parent 15539 d09ea5bbc9a4
child 15541 3aee6e26b28b
tests: 'hghave unix-permissions' for test-import.t 'hg import' of a patch with mode changes requires unix permissions support in the file system.
tests/test-import.t
--- a/tests/test-import.t	Mon Nov 21 00:39:32 2011 +0100
+++ b/tests/test-import.t	Mon Nov 21 00:39:32 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" unix-permissions || exit 80
+
   $ hg init a
   $ mkdir a/d1
   $ mkdir a/d1/d2