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>
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