mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 18:34:52 +01:00
test: use source and build paths in T590-thread-breakage.sh
Make a distinction between source and build directories.
This commit is contained in:
parent
3c23780396
commit
409d877364
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue