summaryrefslogtreecommitdiff
path: root/t/t2009-checkout-statinfo.sh
diff options
context:
space:
mode:
authorLibravatar Tarmigan Casebolt <tarmigan+git@gmail.com>2010-01-02 13:38:05 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-06 01:16:54 -0800
commit43015774c3a697abf8efee28e36238fc78cf45d1 (patch)
tree447010a8a0d44c40b78dddbde2891a5a3077075d /t/t2009-checkout-statinfo.sh
parentSmart-http: check if repository is OK to export before serving it (diff)
downloadtgif-43015774c3a697abf8efee28e36238fc78cf45d1.tar.xz
Smart-http tests: Improve coverage in test t5560
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'. Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2009-checkout-statinfo.sh')
0 files changed, 0 insertions, 0 deletions