Bugfix: fix the wrong path in copper 45/26845/1
authorLinda Wang <wangwulin@huawei.com>
Wed, 11 Jan 2017 03:36:01 +0000 (03:36 +0000)
committerLinda Wang <wangwulin@huawei.com>
Wed, 11 Jan 2017 03:48:47 +0000 (03:48 +0000)
JIRA: FUNCTEST-691

Change-Id: Iad8d5aa14642b3b3bf673faf032c7f3ba9dc28d8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/opnfv_tests/features/copper.py

index 8d5393c..204fa33 100755 (executable)
@@ -22,4 +22,4 @@ class Copper(base.FeatureBase):
         super(Copper, self).__init__(project='copper',
                                      case='copper-notification',
                                      repo='dir_repo_copper')
-        self.cmd = "%s/tests/run.sh %s/tests" % (self.repo, self.repo)
+        self.cmd = 'cd %s/tests && ./run.sh' % self.repo