Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a913534
)
make test: fix debug print
14/4514/2
author
Klement Sekera
<ksekera@cisco.com>
Mon, 2 Jan 2017 09:31:17 +0000
(10:31 +0100)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Mon, 2 Jan 2017 22:55:42 +0000
(22:55 +0000)
Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/vpp_pg_interface.py
patch
|
blob
|
history
diff --git
a/test/vpp_pg_interface.py
b/test/vpp_pg_interface.py
index
a79af03
..
2256ada
100644
(file)
--- a/
test/vpp_pg_interface.py
+++ b/
test/vpp_pg_interface.py
@@
-148,7
+148,7
@@
class VppPGInterface(VppInterface):
before = len(output.res)
if filter_out_fn:
output.res = [p for p in output.res if not filter_out_fn(p)]
- removed =
len(output.res) - before
+ removed =
before - len(output.res)
if removed:
self.test.logger.debug(
"Filtered out %s packets from capture (returning %s)" %