Bugfix: fix the wrong path for security scan
authorhelenyao <yaohelan@huawei.com>
Sat, 24 Dec 2016 07:27:02 +0000 (02:27 -0500)
committerhelenyao <yaohelan@huawei.com>
Sat, 24 Dec 2016 07:27:02 +0000 (02:27 -0500)
JIRA: FUNCTEST-679

Change-Id: I488ebbca5ea2594787cb6151cd82bf2d4a3e8118
Signed-off-by: helenyao <yaohelan@huawei.com>
functest/ci/exec_test.sh

index 2b4cd8b..109de07 100755 (executable)
@@ -114,7 +114,7 @@ function run_test(){
         "security_scan")
             echo "Sourcing Credentials ${FUNCTEST_CONF_DIR}/stackrc for undercloud .."
             source ${FUNCTEST_CONF_DIR}/stackrc
-            python ${REPOS_DIR}/securityscanning/security_scan.py --config ${REPOS_DIR}/securityscanning/config.ini
+            python ${FUNCTEST_TEST_DIR}/security_scan/security_scan.py --config ${FUNCTEST_TEST_DIR}/security_scan/config.ini
         ;;
         "copper")
             python ${FUNCTEST_TEST_DIR}/features/copper.py $report