openssh-portable icon indicating copy to clipboard operation
openssh-portable copied to clipboard

Make 3rd party unit tests log "PERKELE" instead of "FUCKOFF"

Open martinpaljak opened this issue 11 months ago • 3 comments

I'm using this sample file as input to known_hosts parsing unit tests. I don't mind a bit of swearing but this Finnish word is a bit less direct than "FUCKOFF".

Reference: https://www.youtube.com/watch?v=g56Izmup9zw

martinpaljak avatar Jan 20 '25 13:01 martinpaljak

I don't understand - nothing in OpenSSH logs this string

djmdjm avatar Feb 15 '25 02:02 djmdjm

@djmdjm in OpenSSH maybe not, but try this from the source tree root: tail -1 ./regress/unittests/hostkeys/testdata/known_hosts | awk '{print $3}' | base64 -d

I'd like to keep using the latest file from OpenSSH source tree as input for my tests, which does dump the failing data in unit tests for debugging reasons.

martinpaljak avatar Feb 15 '25 04:02 martinpaljak

Why should the Finns have all the fun ?

If the issue is the swearing, then change it to "GoAway", it's both easy to understand and not swearing.

pinacoelho avatar Sep 25 '25 07:09 pinacoelho