From 7f1a3458436dcd6a44414c8d753d1e29bfada749 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 27 Feb 2012 23:53:00 +0000 Subject: [PATCH] Tuning for Debian. --- org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh | 11 ++++++++--- org.glite.testsuites.ctb/LB/tests/lb-common.sh | 15 +++++++++++---- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh index dacb464..349868c 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -23,7 +23,7 @@ remotehost=$1 COPYPROXY=$2 egrep -i "Debian|Ubuntu" /etc/issue -if [ \$? = 0 ]; then +if [ $? = 0 ]; then INSTALLCMD="apt-get install -q --yes" INSTALLPKGS="lintian" else @@ -48,8 +48,13 @@ ${INSTALLCMD} globus-proxy-utils postgresql postgresql-server emi-lb-nagios-plug /etc/init.d/postgresql initdb >/dev/null 2>&1 /etc/init.d/postgresql start -mv /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf.orig -cat >/var/lib/pgsql/data/pg_hba.conf <\$conf <>$dir/query.log` + if [ -z "$src" ]; then src="$pkg"; fi + pkgs="$pkgs +$src" + done pkgs=`echo "$pkgs" | sort | uniq` - rm -f $dir - mkdir $dir printf "Downloading packages..." (cd $dir; apt-get -d source $pkgs >$dir/download.log) if test $? -eq 0; then @@ -408,7 +416,6 @@ function check_lintian() { echo $pkg: out="`lintian $dir/${pkg}_*.dsc`" echo "$out" - echo if echo $out | grep -i '^E:' >/dev/null; then ret=1 fi -- 1.8.2.3