Rename UMLTESTDIR variable to TESTDIR
authorReto Buerki <reet@codelabs.ch>
Fri, 7 Dec 2012 13:19:11 +0000 (14:19 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 17 Jan 2013 15:54:53 +0000 (16:54 +0100)
testing/do-tests
testing/scripts/build-umlhostfs
testing/scripts/build-umlrootfs
testing/testing.conf

index 44b5f2d..7f7d914 100755 (executable)
@@ -35,7 +35,7 @@ TODAYDIR=$TESTRESULTSDIR/$TESTDATE
 mkdir $TODAYDIR
 TESTRESULTSHTML=$TODAYDIR/all.html
 INDEX=$TODAYDIR/index.html
-DEFAULTTESTSDIR=$UMLTESTDIR/testing/tests
+DEFAULTTESTSDIR=$TESTDIR/testing/tests
 
 SOURCEIP_ROUTING_TABLE=220
 
index 2ed8b50..9c419ac 100755 (executable)
@@ -48,7 +48,7 @@ do
        if [ "$host" = "winnetou" ]
        then
                execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0
-               execute "cp -rf $UMLTESTDIR/testing/images $LOOPDIR/var/www/" 0
+               execute "cp -rf $TESTDIR/testing/images $LOOPDIR/var/www/" 0
                execute_chroot "ln -s /etc/openssl/certs /var/www/certs" 0
                execute_chroot "/etc/openssl/generate-crl" 0
                execute_chroot "update-rc.d apache2 defaults" 0
index 271e532..cf11844 100755 (executable)
@@ -45,7 +45,7 @@ do_on_exit umount $LOOPDIR/proc
 do_on_exit umount $LOOPDIR
 
 echo "Installing software from source"
-RECPDIR=$UMLTESTDIR/testing/scripts/recipes
+RECPDIR=$TESTDIR/testing/scripts/recipes
 RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
 execute "cp -r $RECPDIR/patches $LOOPDIR/root/compile" 0
 for r in $RECIPES
index c7defbc..1eb5108 100644 (file)
@@ -15,7 +15,7 @@
 # for more details.
 
 # Root directory of testing
-UMLTESTDIR=~/strongswan-testing
+TESTDIR=~/strongswan-testing
 
 # Kernel configuration
 KERNELVERSION=3.5.3
@@ -28,7 +28,7 @@ KERNELPATCH=ha-3.0.patch.bz2
 SWANVERSION=5.0.2dr4
 
 # Directory where the UML kernels and file system will be built
-BUILDDIR=$UMLTESTDIR/umlbuild
+BUILDDIR=$TESTDIR/umlbuild
 
 # Logfile
 LOGFILE=$BUILDDIR/testing.log
@@ -54,10 +54,10 @@ VIRTIMGSTORE=/var/lib/libvirt/images
 UMLKERNEL=$BUILDDIR/linux-uml-$KERNELVERSION
 
 # Directory where test results will be stored
-TESTRESULTSDIR=$UMLTESTDIR/testresults
+TESTRESULTSDIR=$TESTDIR/testresults
 
 # SSH configuration (speedup SSH)
-SSHCONF="-F $UMLTESTDIR/testing/ssh_config"
+SSHCONF="-F $TESTDIR/testing/ssh_config"
 
 # Timezone for the UMLs, look in /usr/share/zoneinfo!
 TZUML="Europe/Zurich"