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=49f9125647dafbd17fa630278f749a1d630aa03b;hp=18d811f0201edac5fd3a3ebc75d4f5951b981c65;hb=dc2d1452757100a63024c23307f31ddc935fe5f7;hpb=78afb86958fddb5a8f3632748abd3dc63d7fa4bc diff --git a/t/unit/core/store_lookup_test.c b/t/unit/core/store_lookup_test.c index 18d811f..49f9125 100644 --- a/t/unit/core/store_lookup_test.c +++ b/t/unit/core/store_lookup_test.c @@ -534,6 +534,12 @@ START_TEST(test_scan) { "name =~ '.'", NULL, 3 }, { "ANY backend = 'backend'", NULL, 0 }, { "ALL backend = ''", NULL, 3 }, /* backend is empty */ + { "backend = ['backend']", NULL, 0 }, + { "backend != ['backend']", NULL, 3 }, + { "backend < ['backend']", NULL, 3 }, + { "backend <= ['backend']", NULL, 3 }, + { "backend >= ['backend']", NULL, 0 }, + { "backend > ['backend']", NULL, 0 }, { "ANY metric = 'm1'", NULL, 2 }, { "ANY metric= 'm1'", "name = 'x'", 0 }, /* filter never matches */ { "ANY metric = 'm1'",