From 48067706928e30ca1e25a1f15ab9fe3f61d1f795 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 17 Apr 2012 16:28:04 +0000 Subject: [PATCH] Install wget, just to be sure. --- org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh b/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh index 024936c..e1d6ab7 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh @@ -55,6 +55,17 @@ source lb-common-testbeds.sh STARTTIME=`date +%s` +egrep -i "Debian|Ubuntu" /etc/issue +if [ \$? = 0 ]; then + INSTALLCMD="apt-get install -q --yes" + INSTALLPKGS="lintian" +else + INSTALLCMD="yum install -q -y --nogpgcheck" + INSTALLPKGS="rpmlint" +fi + +$INSTALLCMD wget + printf "Getting the 'install' script... " # Example script, for real tests it should be downloaded or otherwise obtained SCENARIO=${SCENARIO:-"Clean installation"} -- 1.8.2.3