]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
test_common: disable fsync in git(1) commands
authorEric Wong <e@80x24.org>
Fri, 15 Nov 2024 02:59:28 +0000 (02:59 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Nov 2024 20:27:42 +0000 (20:27 +0000)
commit5aebdb559f83843b9aaa37a6ef0e22b250cb732a
tree719b0e82e7beaf5c23af87d1095b58a689ef6330
parent9fcbea000d36be144b6c026d5bac81608d2abb8e
test_common: disable fsync in git(1) commands

As with git itself, fsync(2) results in needless overhead and
storage wear in test cases where data integrity is not an issue.
I normally point TMPDIR to tmpfs when running tests, but this
still affects initial setup of data for stuff in t/data-gen as
well as improving life for users with too little RAM for a tmpfs
TMPDIR.
lib/PublicInbox/TestCommon.pm