]> git.ipfire.org Git - thirdparty/strongswan.git/blame - testing/testing.conf
Drop now obsolete UML helper functions
[thirdparty/strongswan.git] / testing / testing.conf
CommitLineData
997358a6 1#!/bin/bash
f9df3d06 2# Global configuration file for strongswan integration testing.
997358a6
MW
3#
4# Copyright (C) 2004 Eric Marchionni, Patrik Rayo
5# Zuercher Hochschule Winterthur
6#
7# This program is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by the
9# Free Software Foundation; either version 2 of the License, or (at your
10# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11#
12# This program is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15# for more details.
997358a6
MW
16
17# Root directory of testing
7fa27191 18TESTDIR=/srv/strongswan-testing
997358a6 19
f9df3d06
RB
20# Kernel configuration
21KERNELVERSION=3.5.3
22KERNEL=linux-$KERNELVERSION
23KERNELTARBALL=$KERNEL.tar.bz2
24KERNELCONFIG=$PWD/config/kernel/config-3.5
25KERNELPATCH=ha-3.0.patch.bz2
997358a6 26
beff82dd
RB
27# strongSwan version used in tests
28SWANVERSION=5.0.2dr4
29
619c5430 30# Build directory where the guest kernel and images will be built
043caec1 31BUILDDIR=$TESTDIR/build
997358a6 32
aa5803e0
RB
33# Logfile
34LOGFILE=$BUILDDIR/testing.log
35
36# Directory used for loop-mounts
37LOOPDIR=$BUILDDIR/loop
38
39# Base image settings
d47b7518 40ROOTFSSIZE=1024
aa5803e0
RB
41ROOTFSSUITE=wheezy
42ROOTFSARCH=amd64
8ed98c13 43ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.qcow2
aa5803e0 44ROOTFSMIRROR=http://cdn.debian.net/debian
e61ce6ee 45ROOTFSCOMPILEDIR=$BUILDDIR/compile
aa5803e0 46
62a277cf
RB
47# Path to guest images
48ROOTFSDIR=$BUILDDIR/root-fs
49
9b3316ed 50# libvirt config
8ed98c13
RB
51NBDEV=/dev/nbd0
52NBDPARTITION=${NBDEV}p1
9b3316ed
RB
53VIRTIMGSTORE=/var/lib/libvirt/images
54
997358a6 55# Directory where test results will be stored
bf48ee33 56TESTRESULTSDIR=$TESTDIR/testresults
997358a6 57
7ec11936 58# SSH configuration (speedup SSH)
bf48ee33 59SSHCONF="-F $TESTDIR/testing/ssh_config"
7ec11936 60
997358a6 61##############################################################
9b3316ed 62# Enable particular steps in the make-testing
997358a6 63#
aa5803e0 64ENABLE_BUILD_BASEIMAGE="yes"
f9df3d06 65ENABLE_BUILD_GUESTKERNEL="yes"
b820f8aa
MW
66ENABLE_BUILD_UMLROOTFS="yes"
67ENABLE_BUILD_UMLHOSTFS="yes"
997358a6 68
997358a6
MW
69##############################################################
70# If set to "yes" only the tests stated at $SELECTEDTESTS
71# will be executed. (use "yes" or "no")
72#
73SELECTEDTESTSONLY="no"
74
75# Tests to do if $SELECTEDTESTSONLY is set "yes".
76#
c598ac63 77SELECTEDTESTS="ikev2/rw-cert"
997358a6
MW
78
79##############################################################
fc0afb68
AS
80# hostname and corresponding IPv4 and IPv6 addresses
81# You may change the IPs but keep them in the same subnet,
997358a6
MW
82# this means retain the netmasks!
83# Also don't use IPs ending with 254, they are reserved!
84#
fc0afb68 85HOSTNAMEIPV4="\
c598ac63 86alice,10.1.0.10,192.168.0.50 \
fc0afb68
AS
87venus,10.1.0.20 \
88moon,192.168.0.1,10.1.0.1 \
b820f8aa 89carol,192.168.0.100,10.3.0.1 \
fc0afb68
AS
90winnetou,192.168.0.150 \
91dave,192.168.0.200,10.3.0.2 \
92sun,192.168.0.2,10.2.0.1 \
93bob,10.2.0.10"
94
95HOSTNAMEIPV6="\
c598ac63 96alice,fec1::10,fec0::5 \
fc0afb68
AS
97venus,fec1::20 \
98moon,fec0::1,fec1::1 \
99carol,fec0::10,fec3::1 \
100winnetou,fec0::15 \
101dave,fec0::20,fec3::2 \
102sun,fec0::2,fec2::1 \
103bob,fec2::10"
997358a6
MW
104
105##############################################################
106# VPN gateways / clients
107# The hosts stated here will be created. Possible values
108# are sun, moon, dave, carol, alice, venus, bob, winnetou.
997358a6 109#
9b3316ed 110STRONGSWANHOSTS="alice bob carol dave moon sun venus winnetou"