Commit c18d9eea authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Whoops the errors weren't quite right. Addresses #246.

git-svn-id: file:///svn/tokudb@1539 c7de825b-a66e-492c-adef-691d508d4ae1
parent 74e9e4ab
......@@ -24,7 +24,8 @@ int main (int argc, const char *argv[]) {
DB_ENV *env;
r = db_env_create(&env, 0); assert(r==0);
r = env->open(env, DIR, -1, 0644);
assert(r==EINVAL && n_handle_error==0);
assert(r==EINVAL);
assert(n_handle_error==0);
r = env->close(env, 0); assert(r==0);
}
......
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