Testing Harness

From Libreswan
Jump to: navigation, search

move kvmsetup.sh from root to a subdirectory

cisco psk 3des. no pfs, aes

Install fedora 20 to physical machine:

yum install libvirtd libvirt-daemon-driver-qemu libvirt-daemon-kvm qemu-system-x86 screen gcc make flex bison yum install tcpdump sudo netcat virt-manager virt-install expect

add a user 'build' that will run the VMs and test cases. Add it to the qemu/kvm groups

service libvirtd start

git clone libreswan repo

cd libreswan.git cp ./kvmsetup.sh.sample ./kvmsetup.sh [edit to taste - mostly OSTYPE and OSMEDIA]

give build user password-less sudo rights and/or add to wheel group

sh ./testing/libvirt/install.sh

chmod 777 /var/lib/libvirt/qemu