diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:09 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:09 -0800 |
| commit | 55e8615d1845aeb5e2276c9cee87ef141f9c7447 (patch) | |
| tree | 344dc77f65f195d15e3dd0b6b6ead3639e4e0ea4 /t/t1016-compatObjectFormat.sh | |
| parent | a82fd5067cd3efe41fa160cd47cccfacf096d139 (diff) | |
| parent | f711f37b05b7ff11038a707ec1f0f72aca98581c (diff) | |
| download | git-55e8615d1845aeb5e2276c9cee87ef141f9c7447.tar.gz | |
Merge branch 'eb/t1016-hash-transition-fix'
Test fix.
* eb/t1016-hash-transition-fix:
t1016-compatObjectFormat: really freeze time for reproduciblity
Diffstat (limited to 't/t1016-compatObjectFormat.sh')
| -rwxr-xr-x | t/t1016-compatObjectFormat.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t1016-compatObjectFormat.sh b/t/t1016-compatObjectFormat.sh index a9af8b2396..0efce53f3a 100755 --- a/t/t1016-compatObjectFormat.sh +++ b/t/t1016-compatObjectFormat.sh @@ -21,6 +21,12 @@ test_description='Test how well compatObjectFormat works' # different hash functions result in the same content in the commits. # This means that when the commit is translated between hash functions # the commit is identical to the commit in the other repository. +# +# Similarly this test relies on: +# gpg --faked-system-time '20230918T154812! +# freezing the system time from gpg perspective so that two different +# runs of gpg applied to the same data result in identical signatures. +# compat_hash () { case "$1" in |
