diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/Makefile.am | 5 | ||||
-rw-r--r-- | tests/test11.c | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2000-02-18 NotZed <NotZed@HelixCode.com> + + * tests/test11.c (main): Use a relative path to the mbox provider + module. + 2000-02-18 Dan Winship <danw@helixcode.com> * camel/camel-types.h: New header with the typedefs for all camel 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; |