Subject: Re: [PATCH v3 3/3] Smart-http tests: Test http-backend without curl or a webserver

From: "Shawn O. Pearce" <[email-masked]>
Date: Sat, 2 Jan 2010 13:03:18 -0800

Tarmigan Casebolt <[email-masked]> wrote:
>  GET() {
> -	return 0
> +	REQUEST_METHOD="GET" \
> +	run_backend "/repo.git/$1" &&
> +	grep "Status" act.out >act
> +	if [ $? -eq 1 ];

I think this should be spelled as:

	if ! grep "Status" act.out >act; then
		printf "Status: 200 OK\r\n" > act
	fi

-- 
Shawn.