From: Junio C Hamano Date: Sun, 13 May 2007 18:38:36 GMT Subject: Re: [PATCH] cvsserver: Add some basic pserver tests Message-ID: <7vzm48sh5f.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <11790785662928-git-send-email-frank@lichtenheld.de> Frank Lichtenheld writes: > While we can easily test the cvs <-> git-cvsserver > communication with :fork: and git-cvsserver server > there are some pserver specifics we should test, too. > > Currently this are two tests of the pserver authentication. > > Signed-off-by: Frank Lichtenheld >... > +test_expect_success 'authentication' \ > + 'cat <log 2>&1 && > +BEGIN AUTH REQUEST > +$SERVERDIR > +anonymous > + > +END AUTH REQUEST > +EOF > + tail -n1 log | grep -q "^I LOVE YOU$"' In the past, some people with non-bash shells had trouble with here text (i.e. <