Code

store_lookup: Don't accept invalid object types in parse_cmp().
[sysdb.git] / t / unit / core / store_lookup_test.c
index c125a5913a407c1e177998864d740d1427933d1d..67f2e05cbeff6bf31f301fd938a7b1202bbb92da 100644 (file)
@@ -421,6 +421,8 @@ START_TEST(test_parse_cmp)
                { "attribute", "attr", "=~", "attrname", MATCHER_ATTR },
                { "attribute", "attr", "!~", "attrname", MATCHER_NOT },
                { "attribute", "attr", "&^", "attrname", -1 },
+               { "foo",       "name", "=",  "bar",      -1 },
+               { "foo",       "attr", "=",  "bar",      -1 },
        };
 
        for (i = 0; i < SDB_STATIC_ARRAY_LEN(golden_data); ++i) {