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

fix tests broken by new inames refs[t:2502]

git-svn-id: file:///svn/toku/tokudb@19113 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5a37ca9f
...@@ -46,7 +46,7 @@ do_x1_shutdown (void) { ...@@ -46,7 +46,7 @@ do_x1_shutdown (void) {
static void static void
do_x1_recover (BOOL UU(did_commit)) { do_x1_recover (BOOL UU(did_commit)) {
int r; int r;
r=system("rm " ENVDIR "/foo_db*"); CKERR(r); r=system("rm " ENVDIR "/*.tokudb"); CKERR(r);
r = db_env_create(&env, 0); CKERR(r); r = db_env_create(&env, 0); CKERR(r);
r = env->open(env, ENVDIR, envflags|DB_RECOVER, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r); r = env->open(env, ENVDIR, envflags|DB_RECOVER, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
......
...@@ -51,7 +51,7 @@ do_x1_shutdown (void) { ...@@ -51,7 +51,7 @@ do_x1_shutdown (void) {
static void static void
do_x1_recover (BOOL UU(did_commit)) { do_x1_recover (BOOL UU(did_commit)) {
int r; int r;
r=system("rm " ENVDIR "/foo_db*"); CKERR(r); r=system("rm " ENVDIR "/*.tokudb"); CKERR(r);
r=db_env_create(&env, 0); assert(r==0); r=db_env_create(&env, 0); assert(r==0);
env->set_errfile(env, stderr); env->set_errfile(env, stderr);
......
...@@ -55,7 +55,7 @@ do_x1_shutdown (void) { ...@@ -55,7 +55,7 @@ do_x1_shutdown (void) {
static void static void
do_x1_recover (BOOL UU(did_commit)) { do_x1_recover (BOOL UU(did_commit)) {
int r; int r;
r=system("rm " ENVDIR "/foo_db*"); CKERR(r); r=system("rm " ENVDIR "/*.tokudb"); CKERR(r);
r=db_env_create(&env, 0); assert(r==0); r=db_env_create(&env, 0); assert(r==0);
env->set_errfile(env, stderr); env->set_errfile(env, stderr);
......
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