Patch sed(1) regexp in self-test script from GNU to POSIX syntax.

PR:		240307
Submitted by:	kevans@
Approved by:	ecrist@secure-computing.net (maintainer)
This commit is contained in:
Matthias Andree 2019-09-06 19:19:00 +00:00
parent b87eeb8c63
commit 62f714af19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511355

View File

@ -0,0 +1,11 @@
--- tests/t_lpback.sh.orig 2019-09-03 13:22:50 UTC
+++ tests/t_lpback.sh
@@ -26,7 +26,7 @@ trap "rm -f key.$$ tc-server-key.$$ tc-client-key.$$ l
# Get list of supported ciphers from openvpn --show-ciphers output
CIPHERS=$(${top_builddir}/src/openvpn/openvpn --show-ciphers | \
- sed -e '/The following/,/^$/d' -e s'/ .*//' -e '/^\s*$/d')
+ sed -e '/The following/,/^$/d' -e s'/ .*//' -e '/^[[:space:]]*$/d')
# SK, 2014-06-04: currently the DES-EDE3-CFB1 implementation of OpenSSL is
# broken (see http://rt.openssl.org/Ticket/Display.html?id=2867), so exclude