[Buildbot-commits] buildbot/buildbot/test test_vc.py,1.20,1.21

Brian Warner warner at users.sourceforge.net
Tue Apr 12 00:28:48 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11834/buildbot/test

Modified Files:
	test_vc.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-35
Creator:  Brian Warner <warner at monolith.lothar.com>

use abspath() to make test_vc happier in certain environments

	* buildbot/test/test_vc.py (VCSupport.__init__): use abspath() to
	normalize the VC-repository location.. makes SVN happier with
	certain test environments.


Index: test_vc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_vc.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- test_vc.py	2 Apr 2005 00:33:21 -0000	1.20
+++ test_vc.py	12 Apr 2005 00:28:45 -0000	1.21
@@ -56,6 +56,7 @@
             vcdir = os.path.expanduser(os.environ.get("BUILDBOT_TEST_VC"))
             p = os.path.join(vcdir,
                              "buildbot-test-vc-1")
+            p = os.path.abspath(p)
             if os.path.exists(os.path.join(p, "README")):
                 self.RepositoryPath = p
                 # some of them take a file: URI





More information about the Commits mailing list