summaryrefslogtreecommitdiff
path: root/tests/vlog.at
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@midokura.com>2016-03-16 07:48:48 +0000
committerYAMAMOTO Takashi <yamamoto@midokura.com>2016-03-24 01:10:03 +0900
commit1ae6b72e93f778416dd9965aff88b57673aabf52 (patch)
tree3bc212506fa0b4e2669e0acee56c9fbf5f2c3690 /tests/vlog.at
parent11b7f938280797676d2163c765916c8c904251db (diff)
downloadopenvswitch-1ae6b72e93f778416dd9965aff88b57673aabf52.tar.gz
vlog.at: Avoid using GNU sed extension
BRE alternative (\|) is an GNU sed extension. [1] It isn't available in NetBSD sed. [1] http://www.gnu.org/software/sed/manual/sed.html#Regular-Expressions regexp1\|regexp2 Matches either regexp1 or regexp2. Use parentheses to use complex alternative regular expressions. The matching process tries each alternative in turn, from left to right, and the first one that succeeds is used. It is a GNU extension. Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/vlog.at')
-rw-r--r--tests/vlog.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vlog.at b/tests/vlog.at
index ec2bd612d..b793611c4 100644
--- a/tests/vlog.at
+++ b/tests/vlog.at
@@ -360,7 +360,7 @@ AT_CHECK([vlog_filt stderr], [0], [opened log file
])
AT_CHECK([APPCTL -t test-unixctl vlog/list | sed -n '1,2p
-/\(test_unixctl\|daemon\) /p'], [0], [dnl
+/test_unixctl /p; /daemon /p'], [0], [dnl
console syslog file
------- ------ ------
daemon OFF INFO INFO
@@ -374,7 +374,7 @@ AT_CHECK([APPCTL -t test-unixctl vlog/set nonexistent], [2], [],
ovs-appctl: test-unixctl: server returned an error
])
AT_CHECK([APPCTL -t test-unixctl vlog/list | sed -n '1,2p
-/\(test_unixctl\|daemon\) /p'], [0], [dnl
+/test_unixctl /p; /daemon /p'], [0], [dnl
console syslog file
------- ------ ------
daemon OFF ERR DBG