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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: teach got patch how to strip
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 5 Apr 2022 20:10:16 +0200

Download raw body.

Thread
On Tue, Apr 05, 2022 at 05:59:55PM +0200, Omar Polo wrote:
> +	(cd $testroot/wt && got patch -p3 patch) \
> +		> $testroot/stdout 2> $testroot/stderr
> +	ret=$?
> +	if [ $ret -eq 0 ]; then
> +		echo "stripped more components than available!"
> +		test_done $testroot 1
> +		return 1
> +	fi

This should check stderr against the error message we expect to see.
But that can be fixed later.

ok stsp@