From f5498671478cbbc90e9b9504e5c1cabf71a36918 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Tue, 24 Jan 2017 05:16:10 +0000 Subject: Bugfix: fix the error of no sh file Three shell scripts (dmz.sh, smtp_ingress.sh and reserved_subnet.sh) are needed when executing "run.sh" where relative path of the three scripts is specified. Those three shell scripts are also located in /home/opnfv/copper/tests, so it is necessary to change to this dir before executing "run.sh". JIRA: FUNCTEST-691 Change-Id: I8571e3403d31e9eede8c4eab79b49f721199cdf9 Signed-off-by: Linda Wang --- functest/opnfv_tests/features/copper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functest/opnfv_tests/features/copper.py b/functest/opnfv_tests/features/copper.py index a10364e26..735b315d2 100755 --- a/functest/opnfv_tests/features/copper.py +++ b/functest/opnfv_tests/features/copper.py @@ -22,4 +22,4 @@ class Copper(base.FeatureBase): super(Copper, self).__init__(project='copper', case='copper-notification', repo='dir_repo_copper') - self.cmd = 'bash %s/tests/run.sh' % self.repo + self.cmd = 'cd %s/tests && bash run.sh && cd -' % self.repo -- cgit 1.2.3-korg