[PATCH] Make some commit hashes in tests reproducible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Han-Wen Nienhuys <hanwen@xxxxxxxxxx>

Adds test_tick to t5801-remote-helpers.sh and t3203-branch-output.sh

Signed-off-by: Han-Wen Nienhuys <hanwen@xxxxxxxxxx>
---
    Make commit hashes in test t3203-branch-output.sh reproducible
    
    Signed-off-by: Han-Wen Nienhuys hanwen@xxxxxxxxxx [hanwen@xxxxxxxxxx]

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-816%2Fhanwen%2Frepro-hash-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-816/hanwen/repro-hash-v1
Pull-Request: https://github.com/git/git/pull/816

 t/t3203-branch-output.sh  | 2 ++
 t/t5801-remote-helpers.sh | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/t/t3203-branch-output.sh b/t/t3203-branch-output.sh
index 71818b90f0..6b614739af 100755
--- a/t/t3203-branch-output.sh
+++ b/t/t3203-branch-output.sh
@@ -4,6 +4,8 @@ test_description='git branch display tests'
 . ./test-lib.sh
 . "$TEST_DIRECTORY"/lib-terminal.sh
 
+test_tick
+
 test_expect_success 'make commits' '
 	echo content >file &&
 	git add file &&
diff --git a/t/t5801-remote-helpers.sh b/t/t5801-remote-helpers.sh
index 0f04b6cddb..de51584173 100755
--- a/t/t5801-remote-helpers.sh
+++ b/t/t5801-remote-helpers.sh
@@ -22,6 +22,8 @@ compare_refs() {
 	eval $fail test_cmp expect actual
 }
 
+test_tick
+
 test_expect_success 'setup repository' '
 	git init server &&
 	(cd server &&

base-commit: a08a83db2bf27f015bec9a435f6d73e223c21c5e
-- 
gitgitgadget



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux