test: Update helper functions
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 10 Jun 2010 06:48:02 +0000 (08:48 +0200)
committerCarl Worth <cworth@cworth.org>
Thu, 16 Sep 2010 22:56:44 +0000 (15:56 -0700)
commit04d454f582ca3ba658d113403e2d849bed79ae30
treefa48e4ddd0eb31fc532808778d5fe302eca74fb0
parent223987bacef4dcc51952084707d1a664765c7c6e
test: Update helper functions

Modify the helper functions to work with git-based test suite i.e.
1) Quote arguments where it is necessary.
2) Do not use $NOTMUCH. It is equal to "notmuch" since $PATH is set to
   the build tree.
3) Modify pass_if_equal to fit into the git-based test suite.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
test/test-lib.sh