change param name to 'root_dir'
authorTony Mack <tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:55:23 +0000 (17:55 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:55:23 +0000 (17:55 +0000)
qaapi/qa/modules/plc/start.py
qaapi/qa/modules/plc/stop.py

index 624c00e..51e1533 100644 (file)
@@ -8,13 +8,13 @@ class start(Test):
     Starts the myplc service
     """
 
-    def call(self, system_type, vserver_or_root_dir_name):
+    def call(self, system_type, root_dir):
        
        start_command = " /sbin/service plc start "
        full_command = ""
 
        if system_type in ['vserv', 'vserver']:
-           full_command += " vserver %(vserver_or_root_dir_name)s exec "
+           full_command += " vserver %(root_dir)s exec "
        elif system_type in ['chroot']:
            pass
        else:
index 990cbe9..9b3b277 100644 (file)
@@ -8,12 +8,12 @@ class stop(Test):
     Installs a myplc
     """
 
-    def call(self, system_type, vserver_or_root_dir_name):
+    def call(self, system_type, root_dir):
 
        stop command = " /sbin/service plc stop "
        full_command = ""
        if system_type in ['vserv', 'vserver']:
-           full_command += " vserver %(vserver_or_root_dir_name)s exec "
+           full_command += " vserver %(root_dir)s exec "
        elif system_type in ['chroot']:
            pass
        else: