This needs to not be in the working tree; it causes trouble there.
This was broken in
090071ae8e31c8f81283af477c1114835ed8fd02
"test suite: Tolerate worktrees when trying to git-fsck"
Reported-by: Sean Whitton <spwhitton@spwhitton.name>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit (3.14~) stable; urgency=medium
- *
+ Test suite:
+ * oldnewtagalt: Fix regression when running outside git tree,
+ introduced in 3.12.
--
}
t-git-fsck () {
- local fsckerrs=dgit-test-fsck.errs
+ local fsckerrs=$(git rev-parse --git-dir)/dgit-test-fsck.errs
set +e
LC_MESSAGES=C git fsck --no-dangling --strict 2>&1 \