diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-09-12 11:09:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-12 11:09:29 +0000 |
commit | aff74a1ac608b430dc10d62e3ea543c3061586ce (patch) | |
tree | 0d1cfdb04b414ef3fd508acbe1c299e312ee779d /tests | |
parent | 3344f0671b911b7a31c2cbf2ae3051b05af21d4c (diff) | |
parent | 228cb344716e6d153eb0dfb43db83af1088d458f (diff) |
Merge "Bugfix: cleanup command not found"
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ci/yardstick-verify | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify index ca8a0b27a..f3e7a49e3 100755 --- a/tests/ci/yardstick-verify +++ b/tests/ci/yardstick-verify @@ -87,7 +87,9 @@ error_exit() exitcode=$rc fi - cleanup + if [[ "${DEPLOY_SCENARIO:0:2}" == 'os' ]];then + source "${YARDSTICK_REPO_DIR}/tests/ci/clean_images.sh" + fi echo "Exiting with RC=$exitcode" |