test: use source and build paths in T380-atomicity.sh

Make a distinction between source and build directories.
This commit is contained in:
Jani Nikula 2017-09-25 23:38:35 +03:00 committed by David Bremner
parent 0364a6d74b
commit e216d9b7ab

View file

@ -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
${TEST_GDB} -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1
${TEST_GDB} -tty /dev/null -batch -x $NOTMUCH_SRCDIR/test/atomicity.py notmuch 1>gdb.out 2>&1
# Get the final, golden output
notmuch search '*' > expected