X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT380-atomicity.sh;h=c6a9fb980bf0d4678a444939f5bb97ddd957747a;hp=ee1e2f43d838960a9f8d8173c666bf2ae95834b1;hb=dfacfe14f337b6603ba0784e4a395489923fd6dd;hpb=776684c7b6804388088cd787f7d5faff7cfbe4c2 diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh index ee1e2f43..c6a9fb98 100755 --- a/test/T380-atomicity.sh +++ b/test/T380-atomicity.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description='atomicity' -. ./test-lib.sh +. ./test-lib.sh || exit 1 # This script tests the effects of killing and restarting "notmuch # new" at arbitrary points. If notmuch new is properly atomic, the @@ -64,7 +64,7 @@ if test_require_external_prereq gdb; then # -tty /dev/null works around a conflict between the 'timeout' wrapper # and gdb's attempt to control the TTY. export MAIL_DIR - gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1 + ${TEST_GDB} -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1 # Get the final, golden output notmuch search '*' > expected