diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-15 20:39:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 20:39:52 +0300 |
commit | 63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf (patch) | |
tree | 0cfc19ce4bca50ffd40f2e8588d91706d37527e2 /t/test-lib.sh | |
parent | aa5937d2d9a52512133027ccd556083aad8bfedc (diff) | |
parent | 412e4caee387d825903bf1252aefbd5cf995a599 (diff) |
Merge branch 'ew/test-wo-fsync'
Allow running our tests while disabling fsync.
* ew/test-wo-fsync:
tests: disable fsync everywhere
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index d1750bf615..0f7a137c7d 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -496,6 +496,13 @@ then export GIT_PERL_FATAL_WARNINGS fi +case $GIT_TEST_FSYNC in +'') + GIT_TEST_FSYNC=0 + export GIT_TEST_FSYNC + ;; +esac + # Add libc MALLOC and MALLOC_PERTURB test # only if we are not executing the test with valgrind if test -n "$valgrind" || |