"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: regress/tog: enable in sha256 mode
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 7 Aug 2024 08:51:04 +0200

Download raw body.

Thread
On Tue, Aug 06, 2024 at 11:33:40PM +0200, Omar Polo wrote:
> i'm not sure if it's better to do this or enlarge the size of the screen
> so we don't have to wrap.
> 
> it is fully passing :)

Unfortunately the tests are failing with GOT_TEST_ALGO=sha1

> +trim()
> +{
> +	expr "$2" : "\(.\{$1\}\)"
> +}

Seems this returns an empty string if the input is shorter than
the requested trim amount. Maybe that causes sha1 tests to fail?