summaryrefslogtreecommitdiff
path: root/t/t1016-compatObjectFormat.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1016-compatObjectFormat.sh')
-rwxr-xr-xt/t1016-compatObjectFormat.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t1016-compatObjectFormat.sh b/t/t1016-compatObjectFormat.sh
index e88362fbe4..c1beac2db1 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