projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
system-traffic: Check ping-by-ping output.
[cascardo/ovs.git]
/
tests
/
system-common-macros.at
diff --git
a/tests/system-common-macros.at
b/tests/system-common-macros.at
index
293aed7
..
809cf17
100644
(file)
--- a/
tests/system-common-macros.at
+++ b/
tests/system-common-macros.at
@@
-68,3
+68,9
@@
m4_define([ADD_VLAN],
NS_CHECK_EXEC([$2], [ip addr add dev $1.$3 $4])
]
)
+
+# FORMAT_PING([])
+#
+# Strip variant pieces from ping output so the output can be reliably compared.
+#
+m4_define([FORMAT_PING], [grep "transmitted" | sed 's/time.*ms$/time 0ms/'])