From b2217296bf858bb96123e8a7ac3790dac45f6e42 Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Mon, 31 Jul 2023 09:26:48 +0100
Subject: Patch project-vc-recognizes-git test for Debian build

---
 test/lisp/progmodes/project-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/progmodes/project-tests.el b/test/lisp/progmodes/project-tests.el
index cbc0bd1e8b9..2933166cf7a 100644
--- a/test/lisp/progmodes/project-tests.el
+++ b/test/lisp/progmodes/project-tests.el
@@ -124,7 +124,7 @@ project-vc-recognizes-git
          (project (project-current nil dir)))
     (should-not (null project))
     (should (string-match-p
-             "\\`test/lisp/progmodes/project-tests\\.elc?"
+             "\\`debian/build-[a-z]+/test/lisp/progmodes/project-tests\\.elc?"
              (file-relative-name
               project-tests--this-file
               (project-root project))))))
