Skip to content

Commit ccb4739

Browse files
committed
Merge branch 'dt/t7063-fix-flaky-test' into maint
* dt/t7063-fix-flaky-test: t7063: fix flaky untracked-cache test
2 parents 1bf986b + 9b680fb commit ccb4739

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/t7063-status-untracked-cache.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,9 @@ test_expect_success 'create/modify files, some of which are gitignored' '
412412
echo two bis >done/two &&
413413
echo three >done/three && # three is gitignored
414414
echo four >done/four && # four is gitignored at a higher level
415-
echo five >done/five # five is not gitignored
415+
echo five >done/five && # five is not gitignored
416+
echo test >base && #we need to ensure that the root dir is touched
417+
rm base
416418
'
417419

418420
test_expect_success 'test sparse status with untracked cache' '

0 commit comments

Comments
 (0)