aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db-no-create--watch
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db-no-create--watch')
-rw-r--r--tests/db-no-create--watch/t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/db-no-create--watch/t b/tests/db-no-create--watch/t
new file mode 100644
index 0000000..89f1e3e
--- /dev/null
+++ b/tests/db-no-create--watch/t
@@ -0,0 +1,6 @@
+! interimap --watch=60 || error
+
+grep -Ex "DBI connect\(.*\) failed: unable to open database file at \./interimap line 173\." <"$STDERR" || error
+test \! -e "$XDG_DATA_HOME/interimap/remote.db" || error
+
+# vim: set filetype=sh :