Switch to side-by-side view

--- a/tests/shared.sh
+++ b/tests/shared.sh
@@ -1,13 +1,14 @@
 # @(#$Id: shared.sh,v 1.4 2009-01-06 18:47:33 dockes Exp $  (C) 2006 J.F.Dockes
-
 # shared code and variables for all tests
 
-RECOLL_CONFDIR=/home/dockes/projets/fulltext/testrecoll/config
+RECOLL_TESTDATA=/home/dockes/projets/fulltext/testrecoll
+
+RECOLL_CONFDIR=${RECOLL_TESTDATA}/config
 export RECOLL_CONFDIR
 
 # Call this with the script's $0 as argument
 initvariables() {
-  tstdata=/home/dockes/projets/fulltext/testrecoll		
+  tstdata=${RECOLL_TESTDATA}
   toptmp=${TMPDIR:-/tmp}/recolltsttmp
   myname=`basename $1 .sh`
   mystderr=$toptmp/${myname}.err