Skip to content

Commit 141a190

Browse files
committed
t7063: disable fsmonitor with status cache
The status cache tests use GIT_TRACE_UNTRACKED_STATS to check very detailed statistics related to how much Git actually checked for untracked files. The fsmonitor feature changes the expected behavior here, so disable the GIT_TEST_FSMONITOR environment variable. Signed-off-by: Derrick Stolee <[email protected]>
1 parent 36f845c commit 141a190

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t7063-status-untracked-cache.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ test_description='test untracked cache'
44

55
. ./test-lib.sh
66

7+
# fsmonitor changes the expected behvaior of GIT_TRACE_UNTRACKED_STATS
8+
GIT_TEST_FSMONITOR=""
9+
710
# On some filesystems (e.g. FreeBSD's ext2 and ufs) directory mtime
811
# is updated lazily after contents in the directory changes, which
912
# forces the untracked cache code to take the slow path. A test

0 commit comments

Comments
 (0)