Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-15 20:39:51 +0300
committerJunio C Hamano <gitster@pobox.com>2021-12-15 20:39:52 +0300
commit63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf (patch)
tree0cfc19ce4bca50ffd40f2e8588d91706d37527e2 /t/test-lib.sh
parentaa5937d2d9a52512133027ccd556083aad8bfedc (diff)
parent412e4caee387d825903bf1252aefbd5cf995a599 (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.sh7
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" ||