Mercurial > public > mercurial-scm > hg
diff tests/test-symlink-os-yes-fs-no.py @ 14116:cd3032437064
tests: move test bundles in a bundles/ subdirectory
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 30 Apr 2011 17:38:06 +0200 |
parents | ca6cebd8734e |
children | 135e244776f0 |
line wrap: on
line diff
--- a/tests/test-symlink-os-yes-fs-no.py Sat Apr 30 17:38:06 2011 +0200 +++ b/tests/test-symlink-os-yes-fs-no.py Sat Apr 30 17:38:06 2011 +0200 @@ -2,6 +2,7 @@ from mercurial import hg, ui, commands TESTDIR = os.environ["TESTDIR"] +BUNDLEPATH = os.path.join(TESTDIR, 'bundles', 'test-no-symlinks.hg') # only makes sense to test on os which supports symlinks if not hasattr(os, "symlink"): @@ -9,7 +10,7 @@ # clone with symlink support u = ui.ui() -hg.clone(u, os.path.join(TESTDIR, 'test-no-symlinks.hg'), 'test0') +hg.clone(u, BUNDLEPATH, 'test0') repo = hg.repository(u, 'test0') @@ -38,4 +39,4 @@ # try cloning a repo which contains symlinks u = ui.ui() -hg.clone(u, os.path.join(TESTDIR, 'test-no-symlinks.hg'), 'test1') +hg.clone(u, BUNDLEPATH, 'test1')