X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Funit%2Fcore%2Fstore_lookup_test.c;fp=t%2Funit%2Fcore%2Fstore_lookup_test.c;h=b8b8d7d4ecb1f275e12a907cf3b8b51ac53be1d7;hp=49f9125647dafbd17fa630278f749a1d630aa03b;hb=64e6b4e43c4d5064e3619bd259169df2c1e3583d;hpb=d688b764f6ebf7609c79c4726d68c2e72da5ebf7 diff --git a/t/unit/core/store_lookup_test.c b/t/unit/core/store_lookup_test.c index 49f9125..b8b8d7d 100644 --- a/t/unit/core/store_lookup_test.c +++ b/t/unit/core/store_lookup_test.c @@ -575,6 +575,11 @@ START_TEST(test_scan) { "ANY attribute = 'x'", NULL, 0 }, { "ANY attribute =~ 'x'", NULL, 0 }, { "ALL attribute = 'k1'", NULL, 2 }, + { "host.name = 'a'", NULL, 1 }, + { "host.attribute['k1'] =~ 'v1'", + NULL, 1 }, + { "host.attribute['x1'] IS NULL", + NULL, 3 }, { "attribute['k1'] = 'v1'", NULL, 1 }, { "attribute['k1'] = 'v1'", "name != 'k1'", 0 },