From 74a58886f61378f2e7eded88c33759af28a5d4f8 Mon Sep 17 00:00:00 2001 From: NotZed Date: Sat, 19 Feb 2000 04:14:46 +0000 Subject: Use a relative path to the mbox provider module. 2000-02-18 NotZed * tests/test11.c (main): Use a relative path to the mbox provider module. svn path=/trunk/; revision=1857 --- tests/Makefile.am | 5 +++++ tests/test11.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'tests') 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; -- cgit v1.2.3