Code

store_lookup: Don't allow 'IS <non-NULL>'.
[sysdb.git] / t / unit / core / store_lookup_test.c
index d6a71e566aea8e0919819984cec6814d55ef0c82..7536f390bc96cfe9b556326271925c367ff6d0a7 100644 (file)
@@ -451,6 +451,7 @@ START_TEST(test_parse_cmp)
                { "attribute", "attr", ">=", &attrname, MATCHER_GE },
                { "attribute", "attr", ">",  &attrname, MATCHER_GT },
                { "attribute", "attr", "IS", NULL,      MATCHER_ISNULL },
+               { "attribute", "attr", "IS", &attrname, -1 },
                { "foo",       "name", "=",  &attrname, -1 },
                { "foo",       "attr", "=",  &attrname, -1 },
        };