aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-06-27 20:46:26 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-06-27 20:46:26 +0200
commit93e66f34629f248d14e9123fc5a1050bd3b71108 (patch)
tree2087d1bd550cffc68b68d82ed771cb0f611986ae
parent68cb68153a8257ee2f9a84b166ef47e712008c11 (diff)
test suite: make sqlite3 ignore ~/.sqliterc
-rwxr-xr-xtests/run5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/run b/tests/run
index fca4919..32931d6 100755
--- a/tests/run
+++ b/tests/run
@@ -130,6 +130,9 @@ doveadm() {
shift 2
"$home/.local/bin/doveadm" "$@"
}
+sqlite3() {
+ command sqlite3 -init /dev/null "$@"
+}
# Sample (random) message
sample_message() {
@@ -321,7 +324,7 @@ xcgrep() {
declare -a ENVIRON=()
environ_set "local"
export TMPDIR TESTDIR STDOUT STDERR "${ENVIRON[@]}"
-export -f environ_set doveadm interimap sample_message deliver
+export -f environ_set doveadm interimap sqlite3 sample_message deliver
export -f check_mailbox_status check_mailbox_status_values check_mailbox_status2
export -f check_mailboxes_status check_mailbox_list xgrep xcgrep
printf "%s..." "$TEST"