From 24165377a66c8aeab28872cbc281b863092e1237 Mon Sep 17 00:00:00 2001
From: Cédric Ollivier <cedric.ollivier@orange.com>
Date: Fri, 13 May 2016 14:02:14 +0200
Subject: Replace error in ci/exec_test.sh
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index 49eb91a9..ae92e7fe 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
-- 
cgit