From 5be0cbfd2734ed8f514b87f8d49eb431f719a779 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 17:48:17 -1000 Subject: Move the directory diff caps test to the limits --- tests/t0303-robustness.sh | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'tests/t0303-robustness.sh') 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' ' -- cgit 2.12.1