]> git.g-eek.se Git - interimap.git/commitdiff
test suite: make sqlite3 ignore ~/.sqliterc
authorGuilhem Moulin <guilhem@fripost.org>
Thu, 27 Jun 2019 18:46:26 +0000 (20:46 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Thu, 27 Jun 2019 18:46:26 +0000 (20:46 +0200)
tests/run

index fca49190028d392a427ac009f9e7a09c0c98cdd8..32931d60fe148e4848af21eea43597b052fac876 100755 (executable)
--- 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"