--enable-test-vectors and --enable-gcrypt in UML scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 16 Jun 2009 16:05:59 +0000 (18:05 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 16 Jun 2009 16:06:16 +0000 (18:06 +0200)
testing/scripts/build-umlrootfs
testing/testing.conf

index 1f9c45c..b3b14b2 100755 (executable)
@@ -220,6 +220,16 @@ then
     echo -n " --enable-load-tests" >> $INSTALLSHELL
 fi
 
+if [ "$USE_TEST_VECTORS" = "yes" ]
+then
+    echo -n " --enable-test-vectors" >> $INSTALLSHELL
+fi
+
+if [ "$USE_GCRYPT" = "yes" ]
+then
+    echo -n " --enable-gcrypt" >> $INSTALLSHELL
+fi
+
 echo "" >> $INSTALLSHELL
 echo "make" >> $INSTALLSHELL
 echo "make install" >> $INSTALLSHELL
index 2efc1bd..440c29f 100755 (executable)
@@ -19,13 +19,13 @@ UMLTESTDIR=~/strongswan-testing
 
 # Bzipped kernel sources
 # (file extension .tar.bz2 required)
-KERNEL=$UMLTESTDIR/linux-2.6.29.4.tar.bz2
+KERNEL=$UMLTESTDIR/linux-2.6.30.tar.bz2
 
 # Extract kernel version
 KERNELVERSION=`basename $KERNEL .tar.bz2 | sed -e 's/linux-//'`
 
 # Kernel configuration file
-KERNELCONFIG=$UMLTESTDIR/.config-2.6.29
+KERNELCONFIG=$UMLTESTDIR/.config-2.6.30
 
 # Bzipped uml patch for kernel
 #UMLPATCH=$UMLTESTDIR/aead_init.patch.bz2
@@ -52,6 +52,8 @@ USE_KERNEL_PFKEY="yes"
 USE_INTEGRITY_TEST="yes"
 USE_LEAK_DETECTIVE="yes"
 USE_LOAD_TESTS="yes"
+USE_TEST_VECTORS="yes"
+USE_GCRYPT="yes"
 
 # Gentoo linux root filesystem
 ROOTFS=$UMLTESTDIR/gentoo-fs-20090325.tar.bz2