Commit 639c1d39 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Note what's going on with the redirect of stderr. Refs #2308. [t:2308]

git-svn-id: file:///svn/toku/tokudb@17144 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2cdf2fc5
......@@ -22,6 +22,8 @@ run_test(void) {
r = toku_logger_close(&logger); assert(r == 0);
// run recovery
// redirect stderr
int devnul = open(DEV_NULL_FILE, O_WRONLY);
assert(devnul>=0);
r = toku_dup2(devnul, fileno(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