chiark / gitweb /
test suite: lib: t-git-fsck: put dgit-test-fsck.errs in git dir
[dgit.git] / tests / lib
index 277ad5e33df189c6b903c8378c3ad1e638a1ce30..fcc2a69766e73b34a32b8ba0cdd1112893c1775f 100644 (file)
--- 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 \