diff options
| author | Jani Nikula <jani@nikula.org> | 2017-09-25 23:38:38 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-20 20:50:17 -0300 |
| commit | 409d87736461c551fac2f1956132b867f379db1b (patch) | |
| tree | 5cc204ac4fa73bd5cf2b1966b2ca84a23ce25958 | |
| parent | 3c2378039613cf2fcc5b1f4b13a016ab3b46e1b6 (diff) | |
test: use source and build paths in T590-thread-breakage.sh
Make a distinction between source and build directories.
| -rwxr-xr-x | test/T590-thread-breakage.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T590-thread-breakage.sh b/test/T590-thread-breakage.sh index 53932d63..aeb82cf4 100755 --- a/test/T590-thread-breakage.sh +++ b/test/T590-thread-breakage.sh @@ -66,7 +66,7 @@ test_thread_count() { test_ghost_count() { test_begin_subtest "${2:-Expecting $1 ghosts(s)}" - ghosts=$(../ghost-report ${MAIL_DIR}/.notmuch/xapian) + ghosts=$($NOTMUCH_BUILDDIR/test/ghost-report ${MAIL_DIR}/.notmuch/xapian) test_expect_equal "$ghosts" "$1" } @@ -111,7 +111,7 @@ test_content_count banana 0 test_begin_subtest 'No ghosts should remain after deletion of second message' # this is known to fail; we are leaking ghost messages deliberately test_subtest_known_broken -ghosts=$(../ghost-report ${MAIL_DIR}/.notmuch/xapian) +ghosts=$($NOTMUCH_BUILDDIR/test/ghost-report ${MAIL_DIR}/.notmuch/xapian) test_expect_equal "$ghosts" "0" rm -f ${MAIL_DIR}/cur/a |
