Signed-off-by: Pieter Praet <pieter@praet.org> --- test/atomicity | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/atomicity b/test/atomicity index cd58c4c..78280b2 100755 --- a/test/atomicity +++ b/test/atomicity @@ -7,6 +7,12 @@ test_description='atomicity' # final database contents should be the same regardless of when (or # if) it is killed and restarted. +# GDB is a prereq. +if test_expect_success "prereq: GDB is present" "which gdb"; then + test_set_prereq GDB +fi + + # Create a maildir structure to also stress flag synchronization mkdir $MAIL_DIR/cur mkdir $MAIL_DIR/new @@ -89,8 +95,8 @@ for ((i = 0; i < $outcount; i++)); do i=$(expr $end - 1) fi done -test_expect_equal "$(cat searchall)" "$(cat expectall)" +test_expect_equal GDB "$(cat searchall)" "$(cat expectall)" -test_expect_success "detected $outcount>10 abort points" "test $outcount -gt 10" +test_expect_success GDB "detected $outcount>10 abort points" "test $outcount -gt 10" test_done -- 1.7.4.1