aboutsummaryrefslogtreecommitdiff
path: root/test/atomicity
Commit message (Collapse)AuthorAge
* test: cleanup gdb external dependency in atomicity testsDmitry Kurochkin2011-12-11
| | | | | Change atomicity tests to use the new external binary dependencies. This simplifies the code and makes output consistent.
* test/atomicity: change shebang to '#!/usr/bin/env bash'Tomi Ollila2011-11-14
|
* test/atomicity: redirect output from "which"David Bremner2011-09-25
| | | | | Without redirection, this produced some slightly confusing output in case gdb was present.
* test: make atomicity setup conditional on gdb being present.David Bremner2011-09-24
| | | | | | | The setup is useless if gdb is not present, so it doesn't hurt to skip it. The diff here is huge, but the commit is really just moving most of the script inside the initial if, and adding an else block to print a warning.
* new: Wrap adding and removing messages in atomic sections.Austin Clements2011-09-24
| | | | | | This addresses atomicity of tag synchronization, the last atomicity problems in notmuch new. Each message add or remove is wrapped in its own atomic section, so interrupting notmuch new doesn't lose progress.
* test: use test_expect_equal_file in atomicityDavid Bremner2011-09-13
| | | | | The documentation claims this is more robust, and it seems to work fine to switch to the _file variant.
* test: Convert atomicity test to use test_subtest_known_brokenDavid Bremner2011-09-13
| | | | This is required because test_expect_equal_failure went away.
* test: Test atomicity of notmuch new.Austin Clements2011-09-12
This tests notmuch new's ability to recover from arbitrary stopping failures. It interrupts notmuch new after every database commit and, on every resulting database snapshot, re-runs notmuch new to completion and checks that the final database state is invariant.