Skip to content

Commit 8224b5b

Browse files
jeffhostetlerGit for Windows Build Agent
authored andcommitted
t/perf: avoid copying builtin fsmonitor files into test repo
Do not try to copy a fsmonitor--daemon socket from the current development directory into the test trash directory. When we run the perf suite without an explicit source repo set, we copy of the current $GIT_DIR into the test trash directory. Unix domain sockets cannot be copied in that manner, so the test setup fails. Additionally, omit any other fsmonitor--daemon temp files inside the $GIT_DIR directory. Signed-off-by: Jeff Hostetler <[email protected]>
1 parent 574998a commit 8224b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/perf/perf-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test_perf_copy_repo_contents () {
7474
for stuff in "$1"/*
7575
do
7676
case "$stuff" in
77-
*/objects|*/hooks|*/config|*/commondir|*/gitdir|*/worktrees)
77+
*/objects|*/hooks|*/config|*/commondir|*/gitdir|*/worktrees|*/fsmonitor--daemon*)
7878
;;
7979
*)
8080
cp -R "$stuff" "$repo/.git/" || exit 1

0 commit comments

Comments
 (0)