* fix test-mu-cmd.c for stricter option checks

This commit is contained in:
Dirk-Jan C. Binnema 2011-01-02 18:45:45 +02:00
parent 49077bf7d1
commit 6483e9d39e
1 changed files with 154 additions and 155 deletions

View File

@ -77,7 +77,7 @@ search (const char* query, unsigned expected)
muhome = fill_database ();
g_assert (muhome);
cmdline = g_strdup_printf ("%s --muhome=%s find %s",
cmdline = g_strdup_printf ("%s find --muhome=%s %s",
MU_PROGRAM, muhome, query);
/* g_printerr ("%s\n", cmdline); */
@ -110,8 +110,7 @@ test_mu_index (void)
muhome = fill_database ();
g_assert (muhome != NULL);
xpath = g_strdup_printf ("%s%c%s", muhome, G_DIR_SEPARATOR,
"xapian");
xpath = g_strdup_printf ("%s%c%s", muhome, G_DIR_SEPARATOR, "xapian");
store = mu_store_new (xpath, 0, NULL);
g_assert (store);