From: Cédric Ollivier Date: Fri, 13 May 2016 12:02:14 +0000 (+0200) Subject: Replace error in ci/exec_test.sh X-Git-Tag: colorado.1.0~382 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F14091%2F1;p=functest.git Replace error in ci/exec_test.sh error undefined in ci/exec_test.sh is now replaced by echo $msg >&2 Change-Id: I90fc44d94680206a2b0e85f9dfa5c48dadf6ac04 Signed-off-by: Cédric Ollivier --- diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 49eb91a9e..ae92e7fe9 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -60,7 +60,7 @@ function odl_tests(){ elif [ "$INSTALLER_TYPE" == "compass" ]; then : else - error "INSTALLER_TYPE not valid." + echo "INSTALLER_TYPE not valid." >&2 exit 1 fi } @@ -123,7 +123,7 @@ function run_test(){ popd tempest_dir=$(ls -t /home/opnfv/.rally/tempest/ |grep for-deploy |tail -1) if [[ $tempest_dir == "" ]]; then - error "Make sure tempest was running before" + echo "Make sure tempest was running before" >&2 fi tempest_dir=/home/opnfv/.rally/tempest/$tempest_dir pushd $tempest_dir