diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-06 18:04:36 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-06 18:04:36 +0100 |
commit | b8514d1960e259d49ab2c84c89eba52ab993da3f (patch) | |
tree | 518d70cf6119717cd896e40b5aa88a919fca7751 /test/scripts | |
parent | 4a7dca52352d0976f200b89a50825433b7551554 (diff) |
Sqlite: new-style option to specify db file
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/2600-SQLite/2600 | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/test/scripts/2600-SQLite/2600 b/test/scripts/2600-SQLite/2600 index 2a557a46a..d7e4d69d8 100644 --- a/test/scripts/2600-SQLite/2600 +++ b/test/scripts/2600-SQLite/2600 @@ -1,15 +1,23 @@ # sqlite lookups exim -d-all+lookup -be +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select name from them where id='userx';}} ${lookup sqlite{DIR/aux-fixed/sqlitedb select name from them where id='userx';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select name from them where id='userx';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select name from them where id='xxxx';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select name from them where id='nothing';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select id,name from them where id='nothing';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select * from them where id='quote2';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select * from them where id='newline';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select * from them where id='tab';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select * from them where id='its';}} -${lookup sqlite{DIR/aux-fixed/sqlitedb select * from them where name='${quote_sqlite:it's}';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{ select name from them where id='userx';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{ select name from them where id='userx';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{ select name from them where id='xxxx';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select name from them where id='nothing';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select id,name from them where id='nothing';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb {select * from them where id='quote2';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select * from them where id='newline';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select * from them where id='tab';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select * from them where id='its';}} +${lookup sqlite,file=DIR/aux-fixed/sqlitedb{select * from them where name='${quote_sqlite:it's}';}} +**** +exim -d -DOPT=y -bh 10.0.0.0 +mail from:<a@b> +rcpt to:<c@d> +rcpt to:<c@d> +quit **** exim -d -bh 10.0.0.0 mail from:<a@b> @@ -23,7 +31,7 @@ rcpt to:<c@d> rcpt to:<c@d> quit **** -exim -odi -d userx +exim -DOPT=y -odi -d userx Test message . **** |