From 9aa425d9a699bb18e38b1e1d5b0ce24ee20f7104 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Thu, 21 Apr 2011 07:28:22 +0000
Subject: [PATCH] reduce log output by using -q option for unzip and database
 upload

SVN: 21026
---
 integration-tests/common.bash | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/integration-tests/common.bash b/integration-tests/common.bash
index c6a9e99a0a4..c5d3d0d6b3d 100755
--- a/integration-tests/common.bash
+++ b/integration-tests/common.bash
@@ -368,7 +368,7 @@ function prepare {
 
 function unpack { # from ZIPS to BUILD
     local file_pattern=$1
-    unzip -d $WORK $INSTALL/$file_pattern*.zip
+    unzip -q -d $WORK $INSTALL/$file_pattern*.zip
 }
 
 function remove_unpacked {
@@ -402,7 +402,7 @@ function restore_database {
     psql_cmd=`run_psql`
     $psql_cmd -U postgres -c "drop database if exists $db_name"
     $psql_cmd -U postgres -c "create database $db_name with owner $USER template = template0 encoding = 'UNICODE'"
-    $psql_cmd -U $USER -d $db_name -f $db_file_path
+    $psql_cmd -q -U $USER -d $db_name -f $db_file_path
 }
 
 #
@@ -420,7 +420,7 @@ function install_openbis_server {
         rm -fr $openbis_server_dir
 				copy_templates $openbis_server_name
     
-        unzip -d $openbis_server_dir $INSTALL/openBIS*.zip
+        unzip -q -d $openbis_server_dir $INSTALL/openBIS*.zip
 				$openbis_server_dir/openBIS-server/install.sh $PWD/$openbis_server_dir $openbis_server_dir/service.properties $openbis_server_dir/openbis.conf
         startup_openbis_server $openbis_server_dir
 				wait_for_server
-- 
GitLab