]> git.cworth.org Git - notmuch/commit
test: fix sed error in basic tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 18 Nov 2011 15:21:00 +0000 (19:21 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 26 Nov 2011 17:17:14 +0000 (09:17 -0800)
commitfea2c106acd75a8c0a85bc30bbee89682fae13ff
tree20cd783ef814ed7f4626aeb3ce9526dcb2103a32
parentbad712e20f7690c7ab464710e7625f7f88caf351
test: fix sed error in basic tests

The error is easy to miss, because the test passes and stderr is not
printed.  But if you run basic tests in verbose mode (./basic
--verbose), you get:

  sed: can't read notmuch-test: No such file or directory

The issue is that sed command is given two files: notmuch-test and
$TEST_DIRECTORY/notmuch-test.  And there is no notmuch-test file in
the current directory (test/tmp.basic/).  The patch just removes the
non-existing file from the sed command.
test/basic