Skip to content

Commit 0866db0

Browse files
committed
t0600: fix incomplete prerequisite for a test case
The 'symref transaction supports symlinks' test case is guarded by the `SYMLINK` prerequisite because `core.prefersymlinkrefs = true` requires symbolic links to be supported. However, the `preferSymlinkRefs` feature is not supported on Windows, therefore this test case needs the `MINGW` prerequisite, too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent c59a5f2 commit 0866db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0600-reffiles-backend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ test_expect_success POSIXPERM 'git reflog expire honors core.sharedRepository' '
467467
esac
468468
'
469469

470-
test_expect_success SYMLINKS 'symref transaction supports symlinks' '
470+
test_expect_success SYMLINKS,!MINGW 'symref transaction supports symlinks' '
471471
test_when_finished "git symbolic-ref -d TEST_SYMREF_HEAD" &&
472472
git update-ref refs/heads/new @ &&
473473
test_config core.prefersymlinkrefs true &&

0 commit comments

Comments
 (0)