summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/src')
-rw-r--r--ctdb/tests/src/ctdb_tool_libctdb.c (renamed from ctdb/tests/src/ctdb_parse_nodestring.c)5
1 files changed, 3 insertions, 2 deletions
diff --git a/ctdb/tests/src/ctdb_parse_nodestring.c b/ctdb/tests/src/ctdb_tool_libctdb.c
index e467c36870..6d66054566 100644
--- a/ctdb/tests/src/ctdb_parse_nodestring.c
+++ b/ctdb/tests/src/ctdb_tool_libctdb.c
@@ -1,5 +1,5 @@
/*
- Tests for tools/ctdb.c:parse_nodestring()
+ Tests for tools/ctdb.c and libctdb stubs
Copyright (C) Martin Schwenke 2011
@@ -90,7 +90,8 @@ static void test_parse_nodestring(const char *nodestring_s,
libctdb_test_read_nodemap(ctdb);
- if (parse_nodestring(NULL, nodestring, dd_ok, &nodes, &pnn_mode)) {
+ if (parse_nodestring(NULL, nodestring, CTDB_CURRENT_NODE, dd_ok,
+ &nodes, &pnn_mode)) {
print_nodes(nodes, pnn_mode);
}