diff --git a/test/ghost-report.cc b/test/ghost-report.cc index fad9a71d..9d9e7a7f 100644 --- a/test/ghost-report.cc +++ b/test/ghost-report.cc @@ -12,5 +12,6 @@ main (int argc, char **argv) } Xapian::Database db (argv[1]); + std::cout << db.get_termfreq ("Tghost") << std::endl; } diff --git a/test/make-db-version.cc b/test/make-db-version.cc index 78feaf72..238584e2 100644 --- a/test/make-db-version.cc +++ b/test/make-db-version.cc @@ -17,6 +17,7 @@ main (int argc, char **argv) } std::string nmpath (argv[1]); + nmpath += "/.notmuch"; if (mkdir (nmpath.c_str (), 0777) < 0) { perror (("failed to create " + nmpath).c_str ()); diff --git a/test/random-corpus.c b/test/random-corpus.c index ff413252..d0354e35 100644 --- a/test/random-corpus.c +++ b/test/random-corpus.c @@ -190,6 +190,7 @@ main (int argc, char **argv) srandom (seed); int count; + for (count = 0; count < num_messages; count++) { int j; /* explicitly allow zero tags */