Code

store_lookup: Fixed lookup by back-end name.
[sysdb.git] / t / unit / core / store_lookup_test.c
index 754eb13f18808fba615ed1e809ac4d4b39a526e7..13861bbd79d6d7dcabf237095a91fe1857c9381c 100644 (file)
@@ -394,6 +394,12 @@ START_TEST(test_obj_cond)
                        { SDB_TYPE_INTEGER, { .integer = 0 } }, 0, 0, 0, 0, 0 },
                { "a", SDB_FIELD_BACKEND,
                        { SDB_TYPE_INTEGER, { .integer = 0 } }, 0, 0, 0, 0, 0 },
+               { "a", SDB_FIELD_BACKEND,
+                       { SDB_TYPE_INTEGER, { .integer = 0 } }, 0, 0, 0, 0, 0 },
+               /* (64bit) integer value without zero-bytes */
+               { "a", SDB_FIELD_BACKEND,
+                       { SDB_TYPE_INTEGER, { .integer = 0xffffffffffffffffL } },
+                       0, 0, 0, 0, 0 },
        };
 
        int status;