Merge "Cleanup Ansible common unit tests"
[yardstick.git] / tests / ci / yardstick-verify
index f3e7a49..34423ff 100755 (executable)
@@ -106,7 +106,7 @@ install_storperf()
         echo
         echo "========== Installing storperf =========="
 
-        if ! yardstick -d plugin install plugin/CI/storperf.yaml; then
+        if ! yardstick -d plugin install ${YARDSTICK_REPO_DIR}/plugin/CI/storperf.yaml; then
             echo "Install storperf plugin FAILED";
             exit 1
         fi
@@ -121,7 +121,7 @@ remove_storperf()
         echo
         echo "========== Removing storperf =========="
 
-        if ! yardstick -d plugin remove plugin/CI/storperf.yaml; then
+        if ! yardstick -d plugin remove ${YARDSTICK_REPO_DIR}/plugin/CI/storperf.yaml; then
             echo "Remove storperf plugin FAILED";
             exit 1
         fi
@@ -209,10 +209,10 @@ EOF
 
 
 
-        local scenario_status="SUCCESS"
+        local scenario_status="PASS"
 
         if [ $failed -gt 0 ]; then
-            scenario_status="FAILED"
+            scenario_status="FAIL"
         fi
 
         report "${scenario_status}" "${start_date}" "${stop_date}"