diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-13 18:11:21 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-13 18:48:33 +0000 |
commit | ba0e37b13c652435898f9b1050d6fe648875b125 (patch) | |
tree | 2642dc4621bb6aa50e2e63b180f3a6501bb97ac4 /test/stdout | |
parent | 48155ab3b10f5357609b083ec83d70bd544a5783 (diff) |
Lookups: fix mysql lookup returns for no-data "queries",
when the number of rows affected is returned. Bug 2223
Broken-by: acec9514b1
Also enhance the testsuite mysql testcase to be standalone and move to standard-run set
and add a specific testcase for this bug.
Testcase working on Fedora at least - we'll see what happens on other platforms
where executable locaation may vary.
Diffstat (limited to 'test/stdout')
-rw-r--r-- | test/stdout/2610 | 31 | ||||
-rw-r--r-- | test/stdout/2620 | 1 | ||||
-rw-r--r-- | test/stdout/9100 | 26 |
3 files changed, 32 insertions, 26 deletions
diff --git a/test/stdout/2610 b/test/stdout/2610 new file mode 100644 index 000000000..f0774a81a --- /dev/null +++ b/test/stdout/2610 @@ -0,0 +1,31 @@ +> Philip Hazel +> Philip Hazel +> +> +> id=nothing name="" +> 0 +> +> +> name="\"stquot" id=quote2 +> +> Failed: lookup of "servers=x:127.0.0.1::1223; select name from them where id='ph10';" gave DEFER: MySQL server "x" not found in mysql_servers +> Philip Hazel +> Philip Hazel +> Philip Hazel +> Philip Hazel +> x +> Philip Hazel +Aristotle +> name="Philip Hazel" id=ph10 +name=Aristotle id=aaaa +> 1 +> + +**** SMTP testing session as if from host 10.0.0.0 +**** but without any ident (RFC 1413) callback. +**** This is not for real! + +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+550 relay not permitted
+221 myhost.test.ex closing connection
diff --git a/test/stdout/2620 b/test/stdout/2620 index 08e417d0f..4f907c1bc 100644 --- a/test/stdout/2620 +++ b/test/stdout/2620 @@ -19,6 +19,7 @@ after" id=newline Aristotle > name="Philip Hazel" id=ph10 name=Aristotle id=aaaa +> 1 > **** SMTP testing session as if from host 10.0.0.0 diff --git a/test/stdout/9100 b/test/stdout/9100 deleted file mode 100644 index 460d76714..000000000 --- a/test/stdout/9100 +++ /dev/null @@ -1,26 +0,0 @@ -> Philip Hazel -> Philip Hazel -> -> -> id=nothing name="" -> 0 -> id=quote name="\"Q\" Oted" home=/home/quoted mail=quoted@xxx -> id=filter name=filter home=filter mail="#Exim filter -deliver postmaster" -> id=quote2 name="\"qnosp" home=/home/q2 mail="" -> id=nlonly name=filter home=filter mail="Before -After" -> Failed: lookup of "servers=x:localhost; select name from them where id='CALLER';" gave DEFER: MySQL server "x" not found in mysql_servers -> Philip Hazel -> Philip Hazel -> Philip Hazel -> - -**** SMTP testing session as if from host 10.0.0.0 -**** but without any ident (RFC 1413) callback. -**** This is not for real! - -220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
-250 OK
-550 relay not permitted
-221 myhost.test.ex closing connection
|