Detect vomses and install if necessary
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 24 Feb 2012 09:20:51 +0000 (09:20 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Fri, 24 Feb 2012 09:20:51 +0000 (09:20 +0000)
org.glite.testsuites.ctb/gridsite/tests/gridsite-common-testbeds.sh

index 78bc22e..150e053 100755 (executable)
@@ -87,6 +87,13 @@ else
         fi
 fi
 
+if [ ! -d /etc/vomses ]; then
+       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
+       source ./px-voms-install.sh -u root
+fi
+
 cd ~/
 mkdir GridSite_testing
 cd GridSite_testing