diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 | ||||
-rw-r--r-- | tests/test11.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 74b784babd..ec7edb8409 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,6 +19,11 @@ LDADD = \ # $(GNOME_LIBDIR) \ # $(GNOMEUI_LIBS) $(INTLLIBS) $(PTHREAD_LIB) +#test11_LDADD = \ +# $(LDADD) \ +# $(top_builddir)/filter/libfilter.la \ +# $(top_builddir)/libibex/libibex.la + test9_LDADD = \ $(top_builddir)/camel/libcamel.la \ $(top_builddir)/libibex/libibex.la \ diff --git a/tests/test11.c b/tests/test11.c index cb9ff06f01..3c5fdeb9f4 100644 --- a/tests/test11.c +++ b/tests/test11.c @@ -38,7 +38,7 @@ main (int argc, char**argv) gtk_init (&argc, &argv); camel_init (); ex = camel_exception_new (); - camel_provider_register_as_module ("./libcamelmbox.so.0"); + camel_provider_register_as_module ("../camel/providers/mbox/.libs/libcamelmbox.so.0"); session = camel_session_new (); store = camel_session_get_store (session, store_url); @@ -64,7 +64,7 @@ main (int argc, char**argv) printf("Search for messages\n"); - matches = camel_folder_search_by_expression (folder, "(match-all (and (header-contains \"subject\" \"terminal\") (header-contains \"subject\" \"patch\")))", ex); + matches = camel_folder_search_by_expression (folder, "(or (match-all (header-contains \"subject\" \"term\")) (match-all (header-contains \"subject\" \"gnome\")))", ex); if (matches) { GList *n; |