]> git.sur5r.net Git - openldap/commitdiff
allow writable dirs to be user-relocated
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Oct 2005 18:01:27 +0000 (18:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Oct 2005 18:01:27 +0000 (18:01 +0000)
tests/scripts/defines.sh

index e3948bf29cff8cede4508067cf01ef0694b102b5..0663ead213225fc3e3daa49413461ae5dacb423a 100755 (executable)
@@ -34,10 +34,10 @@ WITHTLS=${AC_WITHTLS-yes}
 ACI=${AC_ACI_ENABLED-acino}
 VALSORT=${AC_valsort-valsortno}
 
-DATADIR=./testdata
 PROGDIR=./progs
-TESTDIR=./testrun
-SCHEMADIR=./schema
+DATADIR=${USER_DATADIR-./testdata}
+TESTDIR=${USER_TESTDIR-./testrun}
+SCHEMADIR=${USER_SCHEMADIR-./schema}
 
 DBDIR1A=$TESTDIR/db.1.a
 DBDIR1B=$TESTDIR/db.1.b