]> git.notmuchmail.org Git - notmuch/commit
test: create dtach's session socket in $TEST_TMPDIR
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 16 Nov 2011 20:50:06 +0000 (22:50 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 17 Nov 2011 23:35:32 +0000 (19:35 -0400)
commit8efdc0518d1887737f79d3eb37c461f0d314f5e1
treeb31ef9107c4cce02f8ffd2cc57282cc6572c3ae0
parenta0ec104f13f66611b6e51cd9b49f4306f4fce8b7
test: create dtach's session socket in $TEST_TMPDIR

Due to 108-character limit in unix domain socket path this change
is required; it is more probable that length of ${TMPDIR:-/tmp} is
shorter than length of path to the current directory of notmuch test
source directory. One can expect to create reasonable-length unix
domain sockets wherever $TMPDIR points to.
test/test-lib.sh