X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fovs-monitor-ipsec.at;h=bd150cf9727519447521c89326daa60760afe808;hb=fba6bd1d3f5891471daea8bf5da22303c2d889df;hp=befa8b76f929d150839debc541c9a07c8dda7f79;hpb=94c336723ca2228cfd60d2207775871e4b773c8b;p=sliver-openvswitch.git diff --git a/tests/ovs-monitor-ipsec.at b/tests/ovs-monitor-ipsec.at index befa8b76f..bd150cf97 100644 --- a/tests/ovs-monitor-ipsec.at +++ b/tests/ovs-monitor-ipsec.at @@ -4,10 +4,11 @@ AT_SETUP([ovs-monitor-ipsec]) AT_SKIP_IF([test $HAVE_PYTHON = no]) OVS_RUNDIR=`pwd`; export OVS_RUNDIR +OVS_DBDIR=`pwd`; export OVS_DBDIR OVS_PKGDATADIR=`pwd`; export OVS_PKGDATADIR cp "$top_srcdir/vswitchd/vswitch.ovsschema" . -trap 'kill `cat pid ovs-monitor-ipsec.pid`' 0 +ON_EXIT([kill `cat pid ovs-monitor-ipsec.pid`]) mkdir etc etc/init.d etc/racoon etc/racoon/certs mkdir usr usr/sbin @@ -32,7 +33,7 @@ chmod +x usr/sbin/setkey touch etc/racoon/certs/ovs-stale.pem ovs_vsctl () { - ovs-vsctl --timeout=5 --no-wait -vreconnect:ANY:emer --db=unix:socket "$@" + ovs-vsctl --no-wait -vreconnect:emer --db=unix:socket "$@" } trim () { # Removes blank lines and lines starting with # from input. sed -e '/^#/d' -e '/^[ ]*$/d' "$@"