Diff options
Diffstat (limited to 'tests/t0303-robustness.sh')
| -rwxr-xr-x | tests/t0303-robustness.sh | 22 |
1 file changed, 0 insertions, 22 deletions
diff --git a/tests/t0303-robustness.sh b/tests/t0303-robustness.sh index d9a8809..7fa06da 100755 --- a/tests/t0303-robustness.sh +++ b/tests/t0303-robustness.sh @@ -528,28 +528,6 @@ test_expect_success 'the fallback branch skips a name spelled like an option' ' test_grep ! "<option value=.-first." tmp ' -test_expect_success 'a blank line in the mimetype file is skipped' ' - ( - cd repos/rob && - echo note >note.cgt && - git add note.cgt && - git commit -m note - ) && - printf "\n \nimage/x-cgit cgt\n" >mime.types && - { - echo "mimetype-file=$PWD/mime.types" && - cat robrc - } >mimerc && - cgit_rc mimerc "url=rob/plain/note.cgt" >tmp && - grep "^Content-Type: image/x-cgit" tmp -' - -test_expect_success 'an indented comment in the mimetype file is skipped' ' - printf " # cgt used to be image/x-old\nimage/x-cgit cgt\n" >mime.types && - cgit_rc mimerc "url=rob/plain/note.cgt" >tmp && - grep "^Content-Type: image/x-cgit" tmp -' - # A cache that stored nothing would pass the first config whatever its ttl, # so a second keeps the same page for ever and has to show it unchanged. test_expect_success 'a refs page named with an id is not cached for ever' ' |
