commit f034749e75aa542a1c76c2cbe2e25d76ab08243b from: Stefan Sperling via: Thomas Adam date: Thu Aug 08 16:43:08 2024 UTC document how to run regression tests with sha256 repositories commit - 1ad118f045b0aeab7dce2cecc7312fd16df56541 commit + f034749e75aa542a1c76c2cbe2e25d76ab08243b blob - ae5c558e2f3d53821c53f70a439f34042c70edf3 blob + 9fa9da2f52a64f4adec86019d5f5a9d8b35cb2af --- README +++ README @@ -50,6 +50,13 @@ deltified objects, run: $ make regress GOT_TEST_PACK=ref-delta +To test with sha256 object IDs instead of sha1, run: + + $ make regress GOT_TEST_ALGO=sha256 + +The GOT_TEST_PACK and GOT_TEST_ALGO flags can be combined to test packed +repositories with sha256 object IDs. + Because got unveils the /tmp directory by default using the /tmp directory for test data can hide bugs. However, /tmp remains the default because there is no better alternative that works out of the box. In order to