netns test: update matching of 'capsh' output
The output now contains multiple lines.
This commit is contained in:
parent
308a11f22b
commit
7c876664b1
1 changed files with 2 additions and 2 deletions
|
|
@ -271,9 +271,9 @@ def _():
|
|||
|
||||
if "joinmarket" in enabled_tests:
|
||||
# netns-exec should drop capabilities
|
||||
assert_full_match(
|
||||
assert_matches(
|
||||
"runuser -u operator -- netns-exec nb-joinmarket capsh --print | grep Current",
|
||||
"Current: =\n",
|
||||
re.compile("^Current: =$", re.MULTILINE),
|
||||
)
|
||||
|
||||
if "clightning" in enabled_tests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue