Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Move the directory diff caps test to the limits
Diffstat (limited to 'tests/t0303-robustness.sh')
| -rwxr-xr-x | tests/t0303-robustness.sh | 21 |
1 file changed, 0 insertions, 21 deletions
diff --git a/tests/t0303-robustness.sh b/tests/t0303-robustness.sh index 1301f5c..6fc29ec 100755 --- a/tests/t0303-robustness.sh +++ b/tests/t0303-robustness.sh @@ -544,27 +544,6 @@ test_expect_success 'a refs page named with an id is not cached for ever' ' test_grep ! ">later<" tmp ' -test_expect_success 'the diff caps hold when the path names a directory' ' - ( - cd repos/rob && - mkdir -p dir && - for n in 1 2 3 - do - echo $n >dir/f$n || return 1 - done && - git add dir && - git commit -m dir - ) && - { - echo "max-diff-files=2" && - cat robrc - } >caprc && - cgit_rc caprc "url=rob/diff/dir" >tmp && - grep "too large to be rendered inline" tmp && - cgit_rc caprc "url=rob/diff/dir/f1" >tmp && - ! grep "too large to be rendered inline" tmp -' - test_lazy_prereq GZIP 'command -v gzip' test_expect_success GZIP 'a snapshot of a tag spelled like an option is archived' ' |
