From: Omar Polo Subject: Re: gitconfig: fix read/write out of bound To: Stefan Sperling Cc: gameoftrees@openbsd.org Date: Sun, 19 Feb 2023 10:31:20 +0100 On 2023/02/19 10:19:41 +0100, Stefan Sperling wrote: > On Sat, Feb 18, 2023 at 06:47:21PM +0100, Omar Polo wrote: > > + (cd "$testroot/repo" && got log -l1 | grep ^from: > $testroot/stdout) > > + ret=$? > > + if [ $ret -ne 0 ]; then > > + test_done "$testroot" "$ret" > > + return 1 > > + fi > > + > > + echo "from: Flank Luck " \ > > Who is Flank? woops :) > > + > $testroot/stdout.expectd ^^^^^^^ due to this typo it was using the previous stdout.expected and so haven't spotted the issue. Fixed both, thanks! > > + cmp -s $testroot/stdout.expected $testroot/stdout > > + ret=$? > > + if [ $ret -ne 0 ]; then > > + diff -u $testroot/stdout.expected $testroot/stdout > > + fi > > test_done "$testroot" "$ret" > > } > > > > > >