Andreas Steffen
1dc14281fc
converted all af-alg iptables scenarios
2013-01-17 16:55:01 +01:00
Andreas Steffen
ac09da8e50
added ikev1/nat-virtual-ip scenario
2013-01-17 16:55:00 +01:00
Andreas Steffen
ca0128588f
converted all ikev1 iptables scenarios
2013-01-17 16:55:00 +01:00
Andreas Steffen
d815235d17
use iptables-restore in all ikev2 firewall scenarios
2013-01-17 16:55:00 +01:00
Andreas Steffen
28b7db2b3c
Updated mark_update script in several IKEv2 scenarios
2013-01-17 16:55:00 +01:00
Andreas Steffen
9b4477d5b8
activated iptables in some ikev2 scenarios
2013-01-17 16:55:00 +01:00
Andreas Steffen
8e75e8dfa7
Fixed NO evaltest in tnc/tnccs-20-pdp scenario
2013-01-17 16:54:59 +01:00
Andreas Steffen
9c36018cc7
Disable IPv4 forwarding on carol in order to pass tnc/tnccs-20-os scenario
2013-01-17 16:54:59 +01:00
Andreas Steffen
7deb8bd905
Added less package to Debian base image
2013-01-17 16:54:59 +01:00
Andreas Steffen
54c526675e
Added config directory to EXTRA-DIST
2013-01-17 16:54:59 +01:00
Andreas Steffen
8b8a4c5c45
Added config für Linux 3.6 guest kernels
2013-01-17 16:54:59 +01:00
Reto Buerki
aafc0a1799
Make test scripts callable from any path
2013-01-17 16:54:58 +01:00
Reto Buerki
0593b6c975
Export compile directory to guests
...
Use 9p over virtio to share files on the host with the guest domains.
The files are accessible in the guests /hostfs directory.
2013-01-17 16:54:58 +01:00
Reto Buerki
48ea1d8b0b
Create all images in $BUILDDIR/images
2013-01-17 16:54:58 +01:00
Reto Buerki
482d3ec9ff
Also restore 'default' host configuration
2013-01-17 16:54:58 +01:00
Reto Buerki
58e0b386ea
Add eth1 NIC to alice domain
2013-01-17 16:54:58 +01:00
Reto Buerki
602ba2f6d1
Adjust ikev2/farp test to qemu network interfaces
2013-01-17 16:54:58 +01:00
Reto Buerki
23382d2e00
Directly use STRONGSWANHOSTS in build-guestimages
...
Drop support for building guests specified on the command line; creating
all images unconditionally is very fast now thanks to qcow2.
2013-01-17 16:54:57 +01:00
Reto Buerki
12f1ff3a0e
Drop SELECTEDTESTSONLY support
2013-01-17 16:54:57 +01:00
Reto Buerki
50fb9b8457
Use exit trap to kill open ssh sessions
2013-01-17 16:54:57 +01:00
Tobias Brunner
16cd6f63e2
Don't refer to recipes and images via $TESTDIR
...
This way no symlink to the testing directory is required in $TESTDIR.
2013-01-17 16:54:57 +01:00
Reto Buerki
7fa92110e8
Adjust ikev2/dhcp tests to qemu network interfaces
2013-01-17 16:54:57 +01:00
Reto Buerki
b351656cc7
Disable checksum offloading on moon's eth1 interface
...
Disable checksum offloading on eth1 because it does not currently work
with virtio and the isc-dhcp-server running on venus, see [1].
[1] - https://bugs.mageia.org/show_bug.cgi?id=1243
2013-01-17 16:54:57 +01:00
Reto Buerki
63178a8830
Add ethtool to debootstrap package includes
2013-01-17 16:54:56 +01:00
Reto Buerki
82499010eb
stop-testing requires virsh
2013-01-17 16:54:56 +01:00
Reto Buerki
bd4c6122a4
Add ssh config to guest root account
2013-01-17 16:54:56 +01:00
Tobias Brunner
ac8c96e51b
Patch iptables for use with HA kernel patch (XFRM hooks)
2013-01-17 16:54:56 +01:00
Tobias Brunner
1a16b170ba
start-testing requires virsh
2013-01-17 16:54:56 +01:00
Reto Buerki
cbe031d755
Make root image a clone of the base image
2013-01-17 16:54:56 +01:00
Reto Buerki
76ccd25a05
Add expect-connection guest image script
...
This script can be used in pretest.dat files to wait until an IPsec
connection becomes available. This avoids unconditional sleeps and
improves test performance.
The ipv6 tests have been updated to use the expect-connection script.
2013-01-17 16:54:55 +01:00
Reto Buerki
44e83859e0
Rename build-umlhostfs script to build-guestimages
2013-01-17 16:54:55 +01:00
Reto Buerki
90dd71e41c
Rename build-umlrootfs script to build-rootimg
2013-01-17 16:54:55 +01:00
Reto Buerki
258cbd40cf
Unify naming of base,root image settings
2013-01-17 16:54:55 +01:00
Reto Buerki
aba43136c2
Drop now obsolete UML helper functions
2013-01-17 16:54:55 +01:00
Reto Buerki
345dba0de4
Exclude iptables from debootstrap
2013-01-17 16:54:55 +01:00
Reto Buerki
74c0839ad6
Run on_exit commands in FILO order
2013-01-17 16:54:54 +01:00
Reto Buerki
97265abaf0
Inform kernel about /dev/nbd0 partition changes
2013-01-17 16:54:54 +01:00
Reto Buerki
b24d3ed5fc
Test availability of required commands
2013-01-17 16:54:54 +01:00
Reto Buerki
f241f46d88
Exit make-testing on script failure
2013-01-17 16:54:54 +01:00
Reto Buerki
8ed98c1373
Switch from raw images to qcow2 format
...
This allows to use minimal copy-on-write clones of the base image as
guest images, which in turn saves a lot of disk space.
2013-01-17 16:54:54 +01:00
Reto Buerki
7fa2719185
Set default TESTDIR to /srv/strongswan-testing
2013-01-17 16:54:54 +01:00
Reto Buerki
bc3cc45e8b
Drop unneeded TZUML variable
2013-01-17 16:54:53 +01:00
Reto Buerki
043caec129
Set BUILDDIR to $TESTDIR/build
2013-01-17 16:54:53 +01:00
Reto Buerki
619c5430b8
Drop unneeded UMLKERNEL variable
2013-01-17 16:54:53 +01:00
Reto Buerki
bf48ee33e5
Rename UMLTESTDIR variable to TESTDIR
2013-01-17 16:54:53 +01:00
Reto Buerki
36a3fe90d8
Drop cecho functions
2013-01-17 16:54:53 +01:00
Reto Buerki
8cb4628ff9
Use log_action function in do-tests script
2013-01-17 16:54:53 +01:00
Reto Buerki
1102a8c1cc
Remove executable bit from testing.conf
2013-01-17 16:54:52 +01:00
Reto Buerki
9b3316ed27
Use qemu/KVM virtualization instead of UML
...
Guest and network configuration is setup using the libvirt
virtualization API. The [start|stop]_testing scripts have been updated
accordingly.
qemu/KVM does not currently support a hostfs, so the shared build tree
mount has been dropped for now.
2013-01-17 16:54:52 +01:00
Martin Willi
16ef69d70a
Pass a constructor callback to create TNCCS server instances while dispatching
2013-01-17 16:34:34 +01:00