diff options
author | 2017-01-24 05:16:10 +0000 | |
---|---|---|
committer | 2017-01-24 07:34:32 +0000 | |
commit | f5498671478cbbc90e9b9504e5c1cabf71a36918 (patch) | |
tree | 6ce09b62cc8fb8067ddeb7133192bec513e103fc /functest/opnfv_tests/features/copper.py | |
parent | 7e7f9c8ef5393d4dc0812cbca82f4358cd93e583 (diff) |
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 <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/features/copper.py')
-rwxr-xr-x | functest/opnfv_tests/features/copper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/features/copper.py b/functest/opnfv_tests/features/copper.py index a10364e2..735b315d 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 |