diff tests/test-symlink-os-yes-fs-no.py @ 17015:73d20de5f30b

tests: add missing no-outer-repo requirements Outer repos (if any) will now never be touched by the tests. But it is better to run without any repos around the tmp directory.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 20 Jun 2012 23:41:21 +0200
parents 0b21ae0a2366
children 6ae45c0b4625
line wrap: on
line diff
--- a/tests/test-symlink-os-yes-fs-no.py	Wed Jun 20 23:41:21 2012 +0200
+++ b/tests/test-symlink-os-yes-fs-no.py	Wed Jun 20 23:41:21 2012 +0200
@@ -8,8 +8,11 @@
 if not getattr(os, "symlink", False):
     sys.exit(80) # SKIPPED_STATUS defined in run-tests.py
 
+u = ui.ui()
+# hide outer repo
+hg.peer(u, {}, '.', create=True)
+
 # clone with symlink support
-u = ui.ui()
 hg.clone(u, {}, BUNDLEPATH, 'test0')
 
 repo = hg.repository(u, 'test0')