diff mbox

[ovs-dev,6/6] packet-type-aware.at: Avoid GNU extension

Message ID 1500053986-38406-6-git-send-email-yamamoto@ovn.org
State Accepted
Delegated to: Ben Pfaff
Headers show

Commit Message

Takashi YAMAMOTO July 14, 2017, 5:39 p.m. UTC
\t is GNU sed extension.

Signed-off-by: YAMAMOTO Takashi <yamamoto@ovn.org>
---
 tests/packet-type-aware.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff July 14, 2017, 9:56 p.m. UTC | #1
On Sat, Jul 15, 2017 at 02:39:46AM +0900, YAMAMOTO Takashi wrote:
> \t is GNU sed extension.
> 
> Signed-off-by: YAMAMOTO Takashi <yamamoto@ovn.org>

Acked-by: Ben Pfaff <blp@ovn.org>
Takashi YAMAMOTO July 15, 2017, 1:51 p.m. UTC | #2
On Sat, Jul 15, 2017 at 6:56 AM, Ben Pfaff <blp@ovn.org> wrote:

> On Sat, Jul 15, 2017 at 02:39:46AM +0900, YAMAMOTO Takashi wrote:
> > \t is GNU sed extension.
> >
> > Signed-off-by: YAMAMOTO Takashi <yamamoto@ovn.org>
>
> Acked-by: Ben Pfaff <blp@ovn.org>
>

applied to master. thank you.
diff mbox

Patch

diff --git a/tests/packet-type-aware.at b/tests/packet-type-aware.at
index 1104078..2eee7f4 100644
--- a/tests/packet-type-aware.at
+++ b/tests/packet-type-aware.at
@@ -233,7 +233,7 @@  ovs-vsctl \
 
 ### Verify datapath configuration
 AT_CHECK([
-    ovs-appctl dpif/show | grep -v hit | sed 's/\t/    /g' | sed 's./[[0-9]]\{1,\}..'
+    ovs-appctl dpif/show | grep -v hit | sed "s/$(printf \\t)/    /g" | sed 's./[[0-9]]\{1,\}..'
 ], [0], [dnl
     br-in1:
         br-in1 65534: (dummy-internal)