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

closes[t:2666] quiet recovery-cend-cbegin

git-svn-id: file:///svn/toku/tokudb@20721 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6d4f2104
......@@ -25,6 +25,14 @@ run_test(void) {
r = toku_log_begin_checkpoint(logger, NULL, TRUE, 0); assert(r == 0);
r = toku_logger_close(&logger); assert(r == 0);
if (!verbose) {
// redirect stderr
int devnul = open(DEV_NULL_FILE, O_WRONLY);
assert(devnul >= 0);
r = toku_dup2(devnul, fileno(stderr)); assert(r == fileno(stderr));
r = close(devnul); assert(r == 0);
}
// run recovery
r = tokudb_recover(TESTDIR, TESTDIR,
toku_builtin_compare_fun, toku_builtin_compare_fun,
......@@ -35,7 +43,8 @@ run_test(void) {
}
int
test_main(int UU(argc), const char *UU(argv[])) {
test_main(int argc, const char *argv[]) {
default_parse_args(argc, argv);
int r;
r = run_test();
return r;
......
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