Skip to contentSkip to conversation

tests: remove dependency on base64

PATCH Arne Schwabe 2 participants 2 messages May 7, 2019 1 message not in the archive

lore
Share & tools
lore

Arne Schwabe

author Acked-by
#1 lore raw
In reply to a message not in the archive

Am 17.04.19 um 13:00 schrieb Steffan Karger:

Quoted 5 lines

From: Steffan Karger <[email protected]...>

Triggered by the report from Ilya, that if base64 is missing, the tests would still report success:

Quoted 7 lines

Testing tls-crypt-v2 key generation (max length metadata)..../t_lpback.sh: base64: not found OK
PASS: t_lpback.sh

The easiest way to fix that, is to remove the dependency on base64 (which is it's current form wouldn't work on OSX anyway, because their base64 doesn't understand "-w0").

OS X base64 understands -b0 which is the same as w0. But for example FreeBSD does not have base64 at all, so I agree with this change.

openssl base64 -A might also be an alternative but that "breaks" mbed TLS build.

ACK on the basis that is actually improves things until Gert comes along with a super obscure UNIX without seq.

#2 lore raw

Hi,

Quoted 2 lines · Arne Schwabe

ACK on the basis that is actually improves things until Gert comes along with a super obscure UNIX without seq.

Like, OpenBSD?

AIX and OpenSolaris do have seq :-)

gert

Signature · 6 lines
"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                             [email protected]...