X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofproto-macros.at;h=a82a9b121d14bdda00f57c85faf87c0ba70319d8;hb=1f14e0558dc6e77f9fab836ccfad00341535057d;hp=3bcffc252c3cade56061cb9f2be8cccd81cc5744;hpb=98b07853dfd6046938c41937d60ce693437c1f25;p=sliver-openvswitch.git diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 3bcffc252..a82a9b121 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -21,7 +21,7 @@ s/ hard_age=[0-9]*,// # log, given that the server was told to listen on a kernel-chosen # port, file provided on stdin, and prints the port number on stdout. # You should specify the listening remote as ptcp:0:127.0.0.1 or -# pssl:0:127.0.0.1. +# pssl:0:127.0.0.1, or the equivalent with [::1] instead of 127.0.0.1. # # Here's an example of how to use this with ovsdb-server: # @@ -29,7 +29,7 @@ s/ hard_age=[0-9]*,// # ovsdb-server --log-file --remote=ptcp:0:127.0.0.1 ... # TCP_PORT=`parse_listening_port < ovsdb-server.log` parse_listening_port () { - sed -n 's/.*0:127\.0\.0\.1: listening on port \([0-9]*\)$/\1/p' + sed -n 's/.*0:.*: listening on port \([0-9]*\)$/\1/p' }] m4_divert_pop([PREPARE_TESTS])