OSDN Git Service

Don't fail the test if the iptables lock is held.
authorLorenzo Colitti <lorenzo@google.com>
Thu, 9 Jun 2016 05:20:08 +0000 (14:20 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Thu, 9 Jun 2016 05:20:08 +0000 (14:20 +0900)
Change-Id: Ib4db989fdb35df3f517ce4db1526e5c1f78ad4b5

tests/binder_test.cpp

index 565db99..42d01a5 100644 (file)
@@ -117,7 +117,7 @@ static std::vector<std::string> listIpRules(const char *ipVersion) {
 }
 
 static std::vector<std::string> listIptablesRule(const char *binary, const char *chainName) {
-    std::string command = StringPrintf("%s -n -L %s", binary, chainName);
+    std::string command = StringPrintf("%s -w -n -L %s", binary, chainName);
     return runCommand(command);
 }