Replace error in ci/exec_test.sh 91/14091/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 13 May 2016 12:02:14 +0000 (14:02 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 13 May 2016 12:03:38 +0000 (14:03 +0200)
error undefined in ci/exec_test.sh is now replaced by echo $msg >&2

Change-Id: I90fc44d94680206a2b0e85f9dfa5c48dadf6ac04
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ci/exec_test.sh

index 49eb91a..ae92e7f 100755 (executable)
@@ -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