commit 826ee983037cade0393cb9ddc2a0c37e4814eaad from: Stefan Sperling date: Wed Aug 07 06:57:58 2024 UTC document how to run regression tests with sha256 repositories commit - e30057481cac5c3e69085e4cc25bfa3690bba26e commit + 826ee983037cade0393cb9ddc2a0c37e4814eaad 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