From 4c262ca7d7534613ae649eb1d4d16ab139c91f8e Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 10 Jan 2008 11:34:36 +0000 Subject: [PATCH] rename myplc-init-vserver into vtest-init-vserver --- system/TestMain.py | 2 +- system/TestPlc.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/TestMain.py b/system/TestMain.py index bd77cb6..b079031 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -51,7 +51,7 @@ steps refer to a method in TestPlc or to a step_* module""" parser.add_option("-u","--url",action="store", dest="myplc_url", help="myplc URL - for locating build output") parser.add_option("-b","--build",action="store", dest="build_url", - help="Build URL - for using myplc-init-vserver.sh in native mode") + help="Build URL - for using vtest-init-vserver.sh in native mode") parser.add_option("-c","--config",action="callback", callback=TestMain.optparse_list, dest="config", nargs=1,type="string", help="config module - can be set multiple times") diff --git a/system/TestPlc.py b/system/TestPlc.py index 728155c..e5e1012 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -121,7 +121,7 @@ class TestPlc: # xxx this would not work with hostname != localhost as mylc-init-vserver was extracted locally def install_vserver_create(self,options): - # we need build dir for myplc-init-vserver + # we need build dir for vtest-init-vserver build_dir=self.path+"/build" if not os.path.isdir(build_dir): if utils.system("svn checkout %s %s"%(options.build_url,build_dir)) != 0: @@ -131,7 +131,7 @@ class TestPlc: repo_url = options.myplc_url repo_url = os.path.dirname(repo_url) repo_url = os.path.dirname(repo_url) - command="%s/myplc-init-vserver.sh %s %s -- --interface eth0:%s"%\ + command="%s/vtest-init-vserver.sh %s %s -- --interface eth0:%s"%\ (build_dir,self.vservername,repo_url,self.vserverip) if utils.system(command) != 0: raise Exception,"Could not create vserver for %s"%self.vservername -- 2.47.0