Sqlite: fix segfault on bad/missing sqlite_dbfile. Bug 2606
[users/heiko/exim.git] / test / scripts / 2600-SQLite / 2600
index f388b1ac110f0b968cae568319bbad7c42e77c68..2c3092ef210db14bc1d0047f0db4e3bcf4c4d1f1 100644 (file)
@@ -30,3 +30,14 @@ Test message
 exim -d-all+lookup -be
 ${lookup sqlite{DIR/aux-fixed/sqlitedb select name from them where id='userx';}}
 ****
+#
+#
+exim -DDATA=DIR/aux-fixed/sqlitedb -d-all+lookup -be
+${lookup sqlite{select name from them where id='userx';}}
+****
+exim -DDATA=nonabsolute_filename -d-all+lookup -be
+${lookup sqlite{select name from them where id='userx';}}
+****
+exim -DDATA=DIR/missingfile -d-all+lookup -be
+${lookup sqlite{select name from them where id='userx';}}
+****