diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-20 15:24:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-20 15:24:23 -0700 |
commit | bd193f46b70fd3f8a55e2a8dcbb1fb2b4eec13d6 (patch) | |
tree | 2761d246f3e66b31669866e70e3fb07c779a6693 /t | |
parent | Merge branch 'maint-1.7.7' into maint-1.7.8 (diff) | |
parent | gitweb: Fix actionless dispatch for non-existent objects (diff) | |
download | tgif-bd193f46b70fd3f8a55e2a8dcbb1fb2b4eec13d6.tar.xz |
Merge branch 'jn/gitweb-unspecified-action' into maint-1.7.8
* jn/gitweb-unspecified-action:
gitweb: Fix actionless dispatch for non-existent objects
Diffstat (limited to 't')
-rwxr-xr-x | t/t9500-gitweb-standalone-no-errors.sh | 8 |
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 53297156a3..94365bb006 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -404,6 +404,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"' |