Switch to unified view

a/tests/shared.sh b/tests/shared.sh
1
# @(#$Id: shared.sh,v 1.4 2009-01-06 18:47:33 dockes Exp $  (C) 2006 J.F.Dockes
1
# @(#$Id: shared.sh,v 1.4 2009-01-06 18:47:33 dockes Exp $  (C) 2006 J.F.Dockes
2
# shared code and variables for all tests
2
# shared code and variables for all tests
3
3
4
RECOLL_TESTDATA=/home/dockes/projets/fulltext/testrecoll
4
RECOLL_TESTDATA=/home/dockes/projets/fulltext/testrecoll
5
5
6
RECOLL_CONFDIR=/home/dockes/projets/fulltext/recoll/tests/config
6
# All source'rs should set topdir as a relative path from their location to
7
# this directory
8
topdir=${topdir:-.}
9
10
RECOLL_CONFDIR=$topdir/config/
7
export RECOLL_CONFDIR
11
export RECOLL_CONFDIR
8
12
9
ECHON="/bin/echo -n"
13
ECHON="/bin/echo -n"
10
14
11
# Call this with the script's $0 as argument
15
# Call this with the script's $0 as argument