OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab798de
)
Use the right version in the rule deletion test.
author
Lorenzo Colitti
<lorenzo@google.com>
Mon, 19 May 2014 21:31:50 +0000
(14:31 -0700)
committer
Lorenzo Colitti
<lorenzo@google.com>
Mon, 2 Feb 2015 08:47:29 +0000
(17:47 +0900)
Change-Id: I54e53cf7751f1fce464c72d5a0468bba553f2cfa
tests/net_test/mark_test.py
patch
|
blob
|
history
diff --git
a/tests/net_test/mark_test.py
b/tests/net_test/mark_test.py
index
0954669
..
3d1ca1c
100755
(executable)
--- a/
tests/net_test/mark_test.py
+++ b/
tests/net_test/mark_test.py
@@
-1646,7
+1646,7
@@
class RulesTest(net_test.NetworkTest):
self.iproute.FwmarkRule(version, False, 300, 302,
priority=self.RULE_PRIORITY)
# Check that the rule pointing at table 301 is still around.
- attributes = [a for _, a in self.iproute.DumpRules(
4
)
+ attributes = [a for _, a in self.iproute.DumpRules(
version
)
if a.get("FRA_PRIORITY", 0) == self.RULE_PRIORITY]
self.assertEquals(1, len(attributes))
self.assertEquals(301, attributes[0]["FRA_TABLE"])