about summary refs log tree commit diff
path: root/third_party/git/t/t1501-work-tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t1501-work-tree.sh')
-rwxr-xr-xthird_party/git/t/t1501-work-tree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/git/t/t1501-work-tree.sh b/third_party/git/t/t1501-work-tree.sh
index b75558040f..3498d3d55e 100755
--- a/third_party/git/t/t1501-work-tree.sh
+++ b/third_party/git/t/t1501-work-tree.sh
@@ -350,7 +350,7 @@ test_expect_success 'Multi-worktree setup' '
 	mkdir work &&
 	mkdir -p repo.git/repos/foo &&
 	cp repo.git/HEAD repo.git/index repo.git/repos/foo &&
-	{ cp repo.git/sharedindex.* repo.git/repos/foo || :; } &&
+	test_might_fail cp repo.git/sharedindex.* repo.git/repos/foo &&
 	sane_unset GIT_DIR GIT_CONFIG GIT_WORK_TREE
 '