]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-network: use raw strings for regexes with backslashes
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 3 Feb 2022 17:55:12 +0000 (18:55 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 3 Feb 2022 17:55:12 +0000 (18:55 +0100)
commit283863a1165eefddec2849fa51e7764291c65894
treec552b81c3b48bbfc2a913a7682b0552de9f384ed
parent535e8107ee5ea2aff79d6814f5d0ae6d86908d8e
test-network: use raw strings for regexes with backslashes

It currently works because `\(` and `\)` are not valid escape sequences,
so they're not treated differently. Using raw strings (or double
backslashes) is a more correct solution.
test/test-network/systemd-networkd-tests.py