On Fri, Sep 06, 2019 at 07:44:59PM +0200, Matthias Andree wrote:
> --- a/tests/t_lpback.sh
> +++ b/tests/t_lpback.sh
> @@ -26,7 +26,7 @@ trap "rm -f key.$$ log.$$ ; exit 1" 0 3
>  # 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')

I wanted to test this across our zoo of funny platforms - namely stuff
like "OpenSolaris" or "AIX", and did not find the time yet.

To my amazement, all platforms seem to support the [[:space:]] notation
correctly, at least the output of

  openvpn --show-ciphers | sed -e '/^[[:space:]]*$/d'

is correctly relieved of all empty lines.  Even AIX.


Acked-By: g...@greenie.muc.de

will merge tomorrow


"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

Openvpn-devel mailing list

Reply via email to