aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-03-13 00:21:15 -0300
committerGravatar David Bremner <david@tethera.net>2014-03-18 07:39:12 -0300
commit533639b143202d333eb964aa0c6a860db0809344 (patch)
tree771c05b833893e782805a8e8b2e38c73c6b7e491 /test
parent9d9a700f1de6352b4f51a00ab80f2fcd70da050d (diff)
doc: build man pages into hierarchy, fix help test.
It turns out there was a reason the old man pages were stored in a man compatible hierarchy, namely so that we could run man on them before installing. Hardcode doc build location into test suite. This isn't ideal, but let's unbreak the test suite for now.
Diffstat (limited to 'test')
-rw-r--r--test/test-lib-common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh
index e1eaa5a0..892991e2 100644
--- a/test/test-lib-common.sh
+++ b/test/test-lib-common.sh
@@ -98,12 +98,12 @@ then
PATH=$GIT_VALGRIND/bin:$PATH
GIT_EXEC_PATH=$GIT_VALGRIND/bin
export GIT_VALGRIND
- test -n "$notmuch_path" && MANPATH="$notmuch_path/man:$MANPATH"
+ test -n "$notmuch_path" && MANPATH="$notmuch_path/doc/_build/man"
else # normal case
if test -n "$notmuch_path"
then
PATH="$notmuch_path:$PATH"
- MANPATH="$notmuch_path/man:$MANPATH"
+ MANPATH="$notmuch_path/doc/_build/man"
fi
fi
export PATH MANPATH