Skip to content

Commit cd717ef

Browse files
committed
t7519: disable external GIT_TEST_FSMONITOR variable
The GIT_TEST_FSMONITOR variable was created specifically so the t7519-status-fsmonitor.sh test script could tweak the expected behavior depending on its value. However, if we set it externally to use the Watchman integration, then it breaks the initial tests that demonstrate behavior _without_ the fsmonitor feature. Disable this variable at the start of the script. Signed-off-by: Derrick Stolee <[email protected]>
1 parent 141a190 commit cd717ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t7519-status-fsmonitor.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ test_description='git status with file system watcher'
88
# "git update-index --fsmonitor" can be used to get the extension written
99
# before testing the results.
1010

11+
# Disable an external value, as we will set it directly as needed.
12+
GIT_TEST_FSMONITOR=""
13+
1114
clean_repo () {
1215
git reset --hard HEAD &&
1316
git clean -fd

0 commit comments

Comments
 (0)