[Fusionforge-commits] r13110 - trunk/tests/scripts

Christian Bayle cbayle at fusionforge.org
Wed Apr 13 16:58:22 CEST 2011


Author: cbayle
Date: 2011-04-13 16:58:22 +0200 (Wed, 13 Apr 2011)
New Revision: 13110

Modified:
   trunk/tests/scripts/fusionforge-build-and-test-deb.sh
   trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
   trunk/tests/scripts/fusionforge-build-and-test-source.sh
Log:
take HOST as arg if available


Modified: trunk/tests/scripts/fusionforge-build-and-test-deb.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2011-04-13 14:44:20 UTC (rev 13109)
+++ trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2011-04-13 14:58:22 UTC (rev 13110)
@@ -10,7 +10,12 @@
 # get config 
 . tests/config/default
 if [ -f tests/config/`hostname` ] ; then . tests/config/`hostname`; fi
-export HOST=debian6.$DNSDOMAIN
+if [ ! -z "$1" ]
+then
+	export HOST=$1
+else
+	export HOST=debian6.$DNSDOMAIN
+fi
 
 export VEID=$VEIDDEB
 

Modified: trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2011-04-13 14:44:20 UTC (rev 13109)
+++ trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2011-04-13 14:58:22 UTC (rev 13110)
@@ -10,7 +10,12 @@
 # get config 
 . tests/config/default
 if [ -f tests/config/`hostname` ] ; then . tests/config/`hostname`; fi
-export HOST=centos5.$DNSDOMAIN
+if [ ! -z "$1" ]
+then
+	export HOST="$1"
+else
+	export HOST=centos5.$DNSDOMAIN
+fi
 
 export VEID=$VEIDCOS
 

Modified: trunk/tests/scripts/fusionforge-build-and-test-source.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-source.sh	2011-04-13 14:44:20 UTC (rev 13109)
+++ trunk/tests/scripts/fusionforge-build-and-test-source.sh	2011-04-13 14:58:22 UTC (rev 13110)
@@ -10,7 +10,12 @@
 # get config 
 . tests/config/default
 if [ -f tests/config/`hostname` ] ; then . tests/config/`hostname`; fi
-export HOST=centos5src.$DNSDOMAIN
+if [ ! -z "$1" ]
+then
+	export HOST="$1"
+else
+	export HOST=centos5src.$DNSDOMAIN
+fi
 
 export VEID=$VEIDSRC
 




More information about the Fusionforge-commits mailing list