]> git.ipfire.org Git - thirdparty/openvpn.git/commit
tests/t_lpback.sh: Switch sed(1) to POSIX-compatible regex.
authorKyle Evans <kevans@FreeBSD.org>
Fri, 6 Sep 2019 17:44:59 +0000 (19:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 24 Sep 2019 21:48:52 +0000 (23:48 +0200)
commitab34d883901e8e59abf5cc5990f1f206c9b0dc58
tree34c317aa658ac2594a4afff27dcbe69f6e67155b
parent1ed687e72cc1cc46ed1f5f8d9d825db6693e4b3e
tests/t_lpback.sh: Switch sed(1) to POSIX-compatible regex.

A test run with FreeBSD PR 229925 'Disallow escaping ordinary
characters in regex(3)' reveals one sed expression that uses the
GNU-extension "\s".

Given that this is the only occurrence and it's a trivial fix,
update it to be POSIX-compatible.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190906174458.14975-2-matthias.andree@gmx.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18806.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 7e4a261cc92a813f9e9ba9ee91c6e08de9d843f8)
tests/t_lpback.sh