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

closes[t:2665] quiet logcursor-bad-checksum

git-svn-id: file:///svn/toku/tokudb@20722 c7de825b-a66e-492c-adef-691d508d4ae1
parent d65841a8
......@@ -50,6 +50,14 @@ test_main (int argc, const char *argv[]) {
// change the LSN and corrupt the checksum
corrupt_the_checksum();
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);
}
// walk forwards
TOKULOGCURSOR lc = NULL;
struct log_entry *le;
......
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