Testing Harness

From Libreswan
Revision as of 19:40, 9 January 2014 by Paul Wouters (talk | contribs) (remove spam)
Jump to navigation Jump to search

move kvmsetup.sh from root to a subdirectory

cisco psk 3des. no pfs, aes

Install fedora 20:

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