From: Stefan Sperling Subject: Re: regress/tog: enable in sha256 mode To: Omar Polo Cc: gameoftrees@openbsd.org Date: Wed, 7 Aug 2024 08:51:04 +0200 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?