From: Patrick Steinhardt Date: Mon, 06 Jul 2026 06:23:55 GMT Subject: [PATCH v3 0/9] t: fixes and improvements for GIT_TEST_LONG Message-ID: <20260706-b4-pks-t-fixes-for-GIT-TEST-LONG-v3-0-4f6c5a37fd1f@pks.im> In-Reply-To: <20260702-b4-pks-t-fixes-for-GIT-TEST-LONG-v1-0-76b4d7bab3d0@pks.im> Hi, this series started out as a simple two-patch series that wired up the GitLab CI badge in our README and GIT_TEST_LONG for GitLab CI. But as it typically goes, tests broke on GitLab CI, which made me realize that they are broken even on GitHub's master branch right now. Some tests are failing in the linux32 job, and we only didn't notice because the whole pipeline hangs. So I had to go down the rabbit hole a bit, the result of which is this patch series. Changes in v3: - Fix commit subjects to mention correct prerequisite. - Link to v2: https://patch.msgid.link/20260703-b4-pks-t-fixes-for-GIT-TEST-LONG-v2-0-79076a7e0c62@pks.im Changes in v2: - Reinstate the EXPENSIVE prerequisite on t4141, as we still end up reading 1GB of data into memory. - Improve a rather hand-wavy commit message. - Link to v1: https://patch.msgid.link/20260702-b4-pks-t-fixes-for-GIT-TEST-LONG-v1-0-76b4d7bab3d0@pks.im Thanks! Patrick [1]: --- Patrick Steinhardt (9): README: add GitLab CI badge to make it more discoverable t0021: skip EXPENSIVE test that is broken without SIZE_T_IS_64BIT t4141: fix inefficient use of dd(1) t5608: reduce maximum disk usage t7508: skip EXPENSIVE test that is broken without SIZE_T_IS_64BIT t7900: clean up large EXPENSIVE repository t: use `test_bool_env` to parse GIT_TEST_LONG gitlab-ci: disable RAM disk on macOS jobs gitlab-ci: enable "GIT_TEST_LONG" .gitlab-ci.yml | 13 ++++----- README.md | 3 ++- ci/lib.sh | 12 +++++++-- t/t0021-conversion.sh | 2 +- t/t4141-apply-too-large.sh | 5 ++-- t/t5608-clone-2gb.sh | 66 ++++++++++++++++++++++++---------------------- t/t7508-status.sh | 2 +- t/t7900-maintenance.sh | 56 +++++++++++++++++++++------------------ t/test-lib.sh | 4 +-- 9 files changed, 91 insertions(+), 72 deletions(-) Range-diff versus v2: 1: e4add14ea7 = 1: afc7563e22 README: add GitLab CI badge to make it more discoverable 2: d762b4d46e ! 2: 753e950eaf t0021: skip EXPENSIVE test that is broken without SIZE_T_IS_32BIT @@ Metadata Author: Patrick Steinhardt ## Commit message ## - t0021: skip EXPENSIVE test that is broken without SIZE_T_IS_32BIT + t0021: skip EXPENSIVE test that is broken without SIZE_T_IS_64BIT One of the tests in t0021 writes a 2GB file and then roundtrips it through the clean/sumdge filters. This test is broken on 32 bit 3: 8d43eb2819 = 3: f776e0fb5f t4141: fix inefficient use of dd(1) 4: fcd048f6f7 = 4: 9754b96a43 t5608: reduce maximum disk usage 5: 11df7f2cb9 ! 5: 0f2e28dc11 t7508: skip EXPENSIVE test that is broken without SIZE_T_IS_32BIT @@ Metadata Author: Patrick Steinhardt ## Commit message ## - t7508: skip EXPENSIVE test that is broken without SIZE_T_IS_32BIT + t7508: skip EXPENSIVE test that is broken without SIZE_T_IS_64BIT One of the tests in t7508 is marked as EXPENSIVE because it ends up creating and adding files that are multiple gigabytes in size. This 6: a16bc1754b = 6: d329a2cd40 t7900: clean up large EXPENSIVE repository 7: b2e6b0d517 = 7: a336d4ce9e t: use `test_bool_env` to parse GIT_TEST_LONG 8: 9632b19164 = 8: cfff94c79e gitlab-ci: disable RAM disk on macOS jobs 9: a42c613012 = 9: ed5e8807fe gitlab-ci: enable "GIT_TEST_LONG" --- base-commit: e9019fcafe0040228b8631c30f97ae1adb61bcdc change-id: 20260701-b4-pks-t-fixes-for-GIT-TEST-LONG-78e538bf0e06