From: Shawn O. Pearce Date: Sat, 02 Jan 2010 20:54:14 GMT Subject: Re: [PATCH v3 RFC 1/3] Smart-http tests: Improve coverage in test t5560 Message-ID: <20100102205414.GL6914@spearce.org> In-Reply-To: <1262465119-96115-1-git-send-email-tarmigan+git@gmail.com> Tarmigan Casebolt wrote: > Commit 34b6cb8bb ("http-backend: Protect GIT_PROJECT_ROOT from /../ > requests") added the path_info helper function to test t5560 but did > not use it. We should use it as it provides another level of error > checking. > > The /etc/.../passwd case is one that is not special (and the test > fails for reasons other than being aliased), so we remove that test > case. > > Also rename the function from 'path_info' to 'expect_aliased'. > > cc: Shawn O. Pearce Acked-by: Shawn O. Pearce -- Shawn.