Commit 38b07a7f authored by Rusty Russell's avatar Rusty Russell

Fix tests: path change because they're now run under ccanlint (from their dir)

parent 0223f561
......@@ -1411,7 +1411,7 @@ static void test_tokenizer(void) {
msg_fail:;
}
test_tokenizer_file("ccan/ccan_tokenizer/test/run.c", &mq);
test_tokenizer_file("test/run.c", &mq);
while (queue_count(mq)) {
struct tok_message msg = dequeue(mq);
......
......@@ -22,7 +22,7 @@ int main(int argc, char * argv[])
double dtmp;
if (argc < 2)
ini_name = "ccan/ciniparser/test/test.ini";
ini_name = "test/test.ini";
else
ini_name = argv[1] ;
......
......@@ -19,9 +19,6 @@ main(int argc, char *argv[])
struct stat st;
str = grab_file(NULL, "test/run-grab.c", NULL);
/* FIXME: run_tests runs us from top level dir. Kill this */
if (!str)
str = grab_file(NULL, "ccan/grab_file/test/run-grab.c", NULL);
split = strsplit(NULL, str, "\n", NULL);
length = strlen(split[0]);
ok1(streq(split[0], "/* This is test for grab_file() function"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment