git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tdb2: unify tdb1_store into tdb_store
[kai/samba.git]
/
lib
/
tdb2
/
test
/
run-tdb1-wronghash-fail.c
diff --git
a/lib/tdb2/test/run-tdb1-wronghash-fail.c
b/lib/tdb2/test/run-tdb1-wronghash-fail.c
index 61d56d6c8a780f7ec762421c6781e9a28ebf9c08..c7e789f2ca7a02f6dec0a87fdc3632fc315ba84d 100644
(file)
--- a/
lib/tdb2/test/run-tdb1-wronghash-fail.c
+++ b/
lib/tdb2/test/run-tdb1-wronghash-fail.c
@@
-60,7
+60,7
@@
int main(int argc, char *argv[])
ok1(log_count == 0);
d.dptr = (void *)"Hello";
d.dsize = 5;
- ok1(tdb
1_store(tdb, d, d, TDB_INSERT) == 0
);
+ ok1(tdb
_store(tdb, d, d, TDB_INSERT) == TDB_SUCCESS
);
tdb_close(tdb);
/* Fail to open with different hash. */