X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fofproto-macros.at;h=658f30e4417c5472018a5f821de0391a19d6ff8f;hb=6dc2f8eeada4e4e1b1fc29d69cb7cbdf1cd94061;hp=1184d2604d08e369d08066929d1f2ff67b808704;hpb=f27f21341ab42ad0e898d6c0e1bd4e98af82afda;p=openvswitch diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 1184d260..658f30e4 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -10,8 +10,8 @@ s/ cookie=0x0,// s/ table=0,// s/ n_packets=0,// s/ n_bytes=0,// -s/idle_age=[0-9]*,// -s/hard_age=[0-9]*,// +s/ idle_age=[0-9]*,// +s/ hard_age=[0-9]*,// ' }] m4_divert_pop([PREPARE_TESTS]) @@ -29,9 +29,9 @@ m4_define([TESTABLE_LOG], [-vPATTERN:ANY:'%c|%p|%m']) # output (e.g. because it includes "create" commands) then 'vsctl-output' # specifies the expected output after filtering through uuidfilt.pl. m4_define([OVS_VSWITCHD_START], - [OVS_RUNDIR=$PWD; export OVS_RUNDIR - OVS_LOGDIR=$PWD; export OVS_LOGDIR - OVS_SYSCONFDIR=$PWD; export OVS_SYSCONFDIR + [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 dnl Create database. @@ -41,17 +41,20 @@ m4_define([OVS_VSWITCHD_START], dnl Start ovsdb-server. AT_CHECK([ovsdb-server --detach --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock], [0], [], [stderr]) - AT_CHECK([[sed < stderr '/vlog|INFO|opened log file/d']]) + AT_CHECK([[sed < stderr ' +/vlog|INFO|opened log file/d +/ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d']]) AT_CAPTURE_FILE([ovsdb-server.log]) dnl Initialize database. AT_CHECK([ovs-vsctl --no-wait init]) dnl Start ovs-vswitchd. - AT_CHECK([ovs-vswitchd --detach --pidfile --enable-dummy --disable-system --log-file], [0], [], [stderr]) + AT_CHECK([ovs-vswitchd --detach --pidfile --enable-dummy --disable-system --log-file -vvconn], [0], [], [stderr]) AT_CAPTURE_FILE([ovs-vswitchd.log]) AT_CHECK([[sed < stderr ' /vlog|INFO|opened log file/d +/vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d /reconnect|INFO|/d /ofproto|INFO|using datapath ID/d /ofproto|INFO|datapath ID changed to fedcba9876543210/d']])