]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib.sh
tests: disable fsync everywhere
[thirdparty/git.git] / t / test-lib.sh
index fc1e521519833ce0bd06077bfe682847188578eb..57d1d84564fbad1c9e0dd9dd38db0ea63b75cf6a 100644 (file)
@@ -489,6 +489,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" ||