fix rootwrap debug filter for ping all
NeutronDebugAgent.ping_all calls ping with "-c 1 -w <number>' so the filter should accept this order, and not only "-w .. -c ..". Not changing the existing filter to not break other tools that might use -w -c in that order. Change-Id: I5b3d67dfcdc15c53ac3bf2fb39de29fd97e98a19
This commit is contained in:
parent
03a5626f1d
commit
7a73776811
@ -10,5 +10,9 @@
|
||||
|
||||
# This is needed because we should ping
|
||||
# from inside a namespace which requires root
|
||||
# _alt variants allow to match -c and -w in any order
|
||||
# (used by NeutronDebugAgent.ping_all)
|
||||
ping: RegExpFilter, ping, root, ping, -w, \d+, -c, \d+, [0-9\.]+
|
||||
ping_alt: RegExpFilter, ping, root, ping, -c, \d+, -w, \d+, [0-9\.]+
|
||||
ping6: RegExpFilter, ping6, root, ping6, -w, \d+, -c, \d+, [0-9A-Fa-f:]+
|
||||
ping6_alt: RegExpFilter, ping6, root, ping6, -c, \d+, -w, \d+, [0-9A-Fa-f:]+
|
Loading…
Reference in New Issue
Block a user