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
+
# read common definitions and functions
for COMMON in gridsite-common.sh test-common.sh gridsite-common-testbeds.sh
do
killall httpd apache2 >/dev/null 2>&1
sleep 1
killall -9 httpd apache2 >/dev/null 2>&1
+echo Starting httpd -f \$HTTPD_CONF
httpd -f \$HTTPD_CONF
cd /tmp
fi
if [ ! -d /etc/vomses ]; then
+ echo Installing experimental VOMS server
if [ ! -f ./px-voms-install.sh ]; then
wget -O px-voms-install.sh http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/PX/tests/px-voms-install.sh?view=co
fi