From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Tue, 22 Jun 2021 09:15:45 +0200
Subject: Relax output check in test suite

---
 tests/test-illegal-contents.t | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/test-illegal-contents.t b/tests/test-illegal-contents.t
index 98c8ee6..312c1df 100644
--- a/tests/test-illegal-contents.t
+++ b/tests/test-illegal-contents.t
@@ -45,10 +45,15 @@ We can override if needed:
   It may not be legal to check out in Git.
   It may also be rejected by some git server configurations.
   $ cd ..
-  $ git clone hg/.hg/git git
+  $ git clone hg/.hg/git git || true
   Cloning into 'git'...
   done.
-  error: Invalid path 'nested/.git/hooks/post-update'
+  error: [Ii]nvalid path 'nested/.git/hooks/post-update' (re)
+  fatal: unable to checkout working tree (?)
+  warning: Clone succeeded, but checkout failed. (?)
+  You can inspect what was checked out with 'git status' (?)
+  and retry( the checkout)? with '.*' (re) (?)
+   (?)
 
 Now check something that case-folds to .git, which might let you own
 Mac users:
