Commit 3879c7b7 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Improve test for #677

git-svn-id: file:///svn/tokudb@3348 c7de825b-a66e-492c-adef-691d508d4ae1
parent 50b1ef07
......@@ -109,7 +109,10 @@ void do_abort_delete_first(int N) {
int main (int argc, const char *argv[]) {
parse_args(argc, argv);
do_abort_delete_first(10);
int r=system("../../newbrt/brtdump " ENVDIR "/foo.db");
assert(WIFEXITED(r) && WEXITSTATUS(r)==0);
do_abort_delete_first(1000);
system("../../newbrt/brtdump " ENVDIR "/foo.db");
int r=system("../../newbrt/brtdump " ENVDIR "/foo.db");
assert(WIFEXITED(r) && WEXITSTATUS(r)==0);
return 0;
}
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