diff options
author | Austin Clements <aclements@csail.mit.edu> | 2014-10-03 12:58:03 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-10-05 07:29:18 +0200 |
commit | cbbda62258360f035894cff9dfd66c60b0cc707f (patch) | |
tree | d39105073a30489771dac13f6adf1da714604c6f /test/T380-atomicity.sh | |
parent | 68dd804544378e6b27630ea207801a0d569039a3 (diff) |
test: Port atomicity test to Python
Previously, this was implemented using a horrible GDB script (because
there is no such thing as a non-horrible GDB script). This GDB script
often broke with newer versions of GDB for mysterious reasons. Port
the test script to GDB's Python API, which makes the code much cleaner
and, hopefully, more stable.
Diffstat (limited to 'test/T380-atomicity.sh')
-rwxr-xr-x | test/T380-atomicity.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh index 2daef906..ee1e2f43 100755 --- a/test/T380-atomicity.sh +++ b/test/T380-atomicity.sh @@ -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.gdb notmuch 1>gdb.out 2>&1 + gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1 # Get the final, golden output notmuch search '*' > expected |