Commit a6a15d9c authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix some bdb tests closes[t:2175]

git-svn-id: file:///svn/toku/tokudb@15826 c7de825b-a66e-492c-adef-691d508d4ae1
parent 06672125
......@@ -113,6 +113,7 @@ BDB_DONTRUN_TESTS = \
recover-compare-db \
recover-compare-db-descriptor \
test_cursor_delete_2119 \
transactional_fileops \
#\ ends prev line
# checkpoint tests depend on this header file,
......
......@@ -41,9 +41,16 @@ test_main (int UU(argc), char UU(*argv[])) {
r=db->put(db, tid, &key, &data, 0);
CKERR(r);
}
r=db->close(db, 0); assert(r==0);
r=tid->abort(tid); assert(r==0);
r=env->close(env, 0); assert(r==0);
r=db->close(db, 0);
assert(r==0);
r=tid->abort(tid);
assert(r==0);
r=env->close(env, 0);
#if USE_BDB
assert(r==ENOENT);
#else
assert(r==0);
#endif
{
toku_struct_stat statbuf;
r = toku_stat(ENVDIR "/foo.db", &statbuf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment