diff options
author | 2016-05-13 14:02:14 +0200 | |
---|---|---|
committer | 2016-05-13 14:03:38 +0200 | |
commit | 24165377a66c8aeab28872cbc281b863092e1237 (patch) | |
tree | 55ab69202b51f43c999b3356bd8ad3ffcaff7d7d | |
parent | a7486659a699b1ae0e12a3b3536071171e52bebf (diff) |
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 <cedric.ollivier@orange.com>
-rwxr-xr-x | ci/exec_test.sh | 4 |
1 files 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 |