X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fofproto-macros.at;h=fc5bba154b783469636626de663623d04849d13a;hb=821cb9fac77850ae3546ab38766a58ff5e75e8a8;hp=5bc431c1356dc81c3036670010a57a6feade75e3;hpb=023e1e0a4d0a9f6937d9a2c66ba30d502029c4df;p=openvswitch diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 5bc431c1..fc5bba15 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -3,11 +3,7 @@ m4_define([STRIP_DURATION], [[sed 's/\bduration=[0-9.]*s/duration=?s/']]) m4_define([TESTABLE_LOG], [-vPATTERN:ANY:'%c|%p|%m']) m4_define([OVS_VSWITCHD_START], - [dnl Skip this test if running as root. Otherwise ovs-vswitchd will tear - dnl down any existing datapaths if the kernel module is loaded. - AT_SKIP_IF([test "`id -u`" = 0]) - - OVS_RUNDIR=$PWD; export OVS_RUNDIR + [OVS_RUNDIR=$PWD; export OVS_RUNDIR OVS_LOGDIR=$PWD; export OVS_LOGDIR OVS_SYSCONFDIR=$PWD; export OVS_SYSCONFDIR trap 'kill `cat ovsdb-server.pid ovs-vswitchd.pid`' 0 @@ -26,7 +22,7 @@ m4_define([OVS_VSWITCHD_START], AT_CHECK([ovs-vsctl --no-wait init]) dnl Start ovs-vswitchd. - AT_CHECK([ovs-vswitchd --detach --pidfile --enable-dummy --log-file], [0], [], [stderr]) + AT_CHECK([ovs-vswitchd --detach --pidfile --enable-dummy --disable-system --log-file], [0], [], [stderr]) AT_CAPTURE_FILE([ovs-vswitchd.log]) AT_CHECK([[sed < stderr ' /vlog|INFO|opened log file/d