Commit 2eb17c0e authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 check return value in test-wss


git-svn-id: file:///svn/toku/tokudb@48335 c7de825b-a66e-492c-adef-691d508d4ae1
parent f7f08de5
......@@ -40,11 +40,13 @@ int main(int argc, char *argv[]) {
}
int64_t rss;
toku_os_get_max_rss(&rss);
int r = toku_os_get_max_rss(&rss);
invariant_zero(r);
if (verbose) printf("%" PRId64 "\n", rss);
assert(rss < nbuffers*buffersize);
do_mallocs();
toku_os_get_max_rss(&rss);
r = toku_os_get_max_rss(&rss);
invariant_zero(r);
if (verbose) printf("%" PRId64 "\n", rss);
assert(rss > nbuffers*buffersize);
......
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