summaryrefslogtreecommitdiff
path: root/t/t9500-gitweb-standalone-no-errors.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-29 21:18:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-29 21:18:50 (GMT)
commit77cdf0f802f23d409a773bd5f8a736f50ae8baf5 (patch)
tree71a4541fee9ab258d4cdc22b69a0d20a7e2b3d6e /t/t9500-gitweb-standalone-no-errors.sh
parent7b718fbf17f5b51887d420e6edc9dcb7b0c0f83c (diff)
parent18ab83e8568878edc3f6680ebdf439ccaa5bf5db (diff)
downloadgit-77cdf0f802f23d409a773bd5f8a736f50ae8baf5.zip
git-77cdf0f802f23d409a773bd5f8a736f50ae8baf5.tar.gz
git-77cdf0f802f23d409a773bd5f8a736f50ae8baf5.tar.bz2
Merge branch 'jn/gitweb-unspecified-action'
* jn/gitweb-unspecified-action: gitweb: Fix actionless dispatch for non-existent objects
Diffstat (limited to 't/t9500-gitweb-standalone-no-errors.sh')
-rwxr-xr-xt/t9500-gitweb-standalone-no-errors.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh
index ab24917..0f771c6 100755
--- a/t/t9500-gitweb-standalone-no-errors.sh
+++ b/t/t9500-gitweb-standalone-no-errors.sh
@@ -475,6 +475,14 @@ test_expect_success \
'gitweb_run "" "/.git/master:foo/"'
test_expect_success \
+ 'path_info: project/branch (non-existent)' \
+ 'gitweb_run "" "/.git/non-existent"'
+
+test_expect_success \
+ 'path_info: project/branch:filename (non-existent branch)' \
+ 'gitweb_run "" "/.git/non-existent:non-existent"'
+
+test_expect_success \
'path_info: project/branch:file (non-existent)' \
'gitweb_run "" "/.git/master:non-existent"'