diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-15 09:39:51 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 09:39:52 -0800 |
commit | 63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf (patch) | |
tree | 0cfc19ce4bca50ffd40f2e8588d91706d37527e2 /t | |
parent | Merge branch 'ew/cbtree-remove-unused-and-broken-cb-unlink' (diff) | |
parent | tests: disable fsync everywhere (diff) | |
download | tgif-63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf.tar.xz |
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')
-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" || |