X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Funit%2Fcore%2Fstore_lookup_test.c;h=d2c006494ab04f95cffce6fb2f4494dc6b740242;hp=9f486836aaec3daf85818ed07c7d17c67c327c63;hb=df77814daebd2e4ff336b0f1184458fa4b01d226;hpb=6f4b7e7407964b05477416d1c1c4291421a5859a diff --git a/t/unit/core/store_lookup_test.c b/t/unit/core/store_lookup_test.c index 9f48683..d2c0064 100644 --- a/t/unit/core/store_lookup_test.c +++ b/t/unit/core/store_lookup_test.c @@ -641,20 +641,20 @@ START_TEST(test_scan) fail_unless(n == 3, "sdb_store_scan called callback %d times; expected: 3", (int)n); - ast = sdb_parser_parse_conditional(scan_data[_i].query, -1, errbuf); + ast = sdb_parser_parse_conditional(SDB_HOST, scan_data[_i].query, -1, errbuf); m = sdb_store_query_prepare_matcher(ast); sdb_object_deref(SDB_OBJ(ast)); fail_unless(m != NULL, - "sdb_parser_parse_conditional(%s, -1) = NULL; expected: " + "sdb_parser_parse_conditional(HOST, %s, -1) = NULL; expected: " "(parser error: %s)", scan_data[_i].query, sdb_strbuf_string(errbuf)); if (scan_data[_i].filter) { - ast = sdb_parser_parse_conditional(scan_data[_i].filter, -1, errbuf); + ast = sdb_parser_parse_conditional(SDB_HOST, scan_data[_i].filter, -1, errbuf); filter = sdb_store_query_prepare_matcher(ast); sdb_object_deref(SDB_OBJ(ast)); fail_unless(filter != NULL, - "sdb_parser_parse_conditional(%s, -1) = NULL; " + "sdb_parser_parse_conditional(HOST, %s, -1) = NULL; " "expected: (parser error: %s)", scan_data[_i].filter, sdb_strbuf_string(errbuf)); }