summaryrefslogtreecommitdiff
path: root/test/scripts/9100-MySQL
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
commit59371ea735c941334861aa5b8e1e9a06facf044f (patch)
tree79168561a70a94a3994fbe362b904ff9aab86136 /test/scripts/9100-MySQL
parent54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e (diff)
Hopefully the final lot of test files.
Diffstat (limited to 'test/scripts/9100-MySQL')
-rw-r--r--test/scripts/9100-MySQL/910022
1 files changed, 22 insertions, 0 deletions
diff --git a/test/scripts/9100-MySQL/9100 b/test/scripts/9100-MySQL/9100
new file mode 100644
index 000000000..3121ca950
--- /dev/null
+++ b/test/scripts/9100-MySQL/9100
@@ -0,0 +1,22 @@
+# mysql lookups - expects specific data
+exim -d-all+lookup -be
+${lookup mysql {select name from them where id='ph10';}}
+${lookup mysql {select name from them where id='ph10';}}
+${lookup mysql {select name from them where id='xxxx';}}
+${lookup mysql {select name from them where id='nothing';}}
+${lookup mysql {select id,name from them where id='nothing';}}
+${lookup mysql {delete from them where id='nonexist';}}
+${lookup mysql {select * from them where id='quote';}}
+${lookup mysql {select * from them where id='filter';}}
+${lookup mysql {select * from them where id='quote2';}}
+${lookup mysql {select * from them where id='nlonly';}}
+****
+exim -d -bh 10.0.0.0
+mail from:<a@b>
+rcpt to:<c@d>
+quit
+****
+exim -odi -d ph10
+Test message
+.
+****