summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-05 23:15:51 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 17:24:53 +0000
commit54b427747f1491776db2cba723645dd437c3e606 (patch)
tree966d6afc7868c28d67d7b259964e2cd2ad745d18 /tests/lib
parent625519607d0e5552d0e0372fc833e9def2f219c5 (diff)
test suite: lib: t-git-fsck: put dgit-test-fsck.errs in git dir
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>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 277ad5e..fcc2a69 100644
--- a/tests/lib
+++ b/tests/lib
@@ -360,7 +360,7 @@ t-expect-fsck-fail () {
}
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 \