aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db-no-create--watch/t
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-02-23 00:35:41 +0100
committerGuilhem Moulin <guilhem@fripost.org>2022-02-23 21:23:55 +0100
commiteeed44617b8b2bf4c941f6de334a9006804615fb (patch)
treee91570238753a4168e07c99f84fa4f7017e1f981 /tests/db-no-create--watch/t
parenta7bae9d4eb282fe805834b8f4185a019fc9bb246 (diff)
Don't assume Net::IMAP::InterIMAP is always in @INC.
And make the installation path configurable at `make` time. Moreover, adjust the 'test' target so the site directory and interimap/pullimap path are configurable with INTERIMAP_I and INTERIMAP_PATH respectively. That way one can run `tests/run foo` to check the source, `make test` to check what's been built, and we also have the possibility to check the installed program e.g. for autopkgtests.
Diffstat (limited to 'tests/db-no-create--watch/t')
-rw-r--r--tests/db-no-create--watch/t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db-no-create--watch/t b/tests/db-no-create--watch/t
index a8ea07e..7ac3d31 100644
--- a/tests/db-no-create--watch/t
+++ b/tests/db-no-create--watch/t
@@ -1,6 +1,6 @@
! interimap --watch=60 || error
-grep -Ex "DBI connect\(.*\) failed: unable to open database file at \./interimap line 172\." <"$STDERR" || error
+grep -Ex "DBI connect\(.*\) failed: unable to open database file at (\S+/)?interimap line 173\." <"$STDERR" || error
test \! -e "$XDG_DATA_HOME/interimap/remote.db" || error
# vim: set filetype=sh :