dovecot-2.0-pigeonhole: Testsuite: forgot to add -P plugin param...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Fri May 14 15:35:27 EEST 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/8791594d478e
changeset: 1285:8791594d478e
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Fri May 14 14:35:19 2010 +0200
description:
Testsuite: forgot to add -P plugin parameter to executable.

diffstat:

 src/testsuite/testsuite.c |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 8307905ad7e2 -r 8791594d478e src/testsuite/testsuite.c
--- a/src/testsuite/testsuite.c	Fri May 14 14:03:09 2010 +0200
+++ b/src/testsuite/testsuite.c	Fri May 14 14:35:19 2010 +0200
@@ -123,7 +123,7 @@
 	int ret, c;
 
 	master_service = master_service_init
-		("testsuite", MASTER_SERVICE_FLAG_STANDALONE, &argc, &argv, "d:x:tE");
+		("testsuite", MASTER_SERVICE_FLAG_STANDALONE, &argc, &argv, "d:x:tP:E");
 
 	user = getenv("USER");
 
@@ -147,6 +147,15 @@
 		case 't':
 			trace = TRUE;
 			break;
+		case 'P':
+			/* Plugin */
+			{
+				const char *plugin;
+
+				plugin = t_strdup(optarg);
+				array_append(&plugins, &plugin, 1);
+			}
+			break;
 		case 'E':
 			log_stdout = TRUE;
 			break;


More information about the dovecot-cvs mailing list