blob: 5089aad55aaba72cce21cf1fc6b7d630cca91dae [file] [log] [blame]
Bert Frees111e7022015-02-10 12:57:05 +01001#include <stdio.h>
2#include <string.h>
3#include <stdlib.h>
4#include <unistd.h>
5#include "louis.h"
6
7int
8main(int argc, char **argv)
9{
10 int success = 0;
11 char * match;
12 lou_setLogLevel(LOG_DEBUG);
13 lou_indexTables("tablesWithMetadata");
14 match = lou_findTable("id:foo");
15 success |= (!match || strcmp(match, "tablesWithMetadata/foo"));
16 match = lou_findTable("language:en");
17 success |= (!match || strcmp(match, "tablesWithMetadata/bar"));
18 return success;
19}