]> git.sur5r.net Git - openldap/commitdiff
ITS#5117 use absolute FILE URLs 'cause BSD libfetch is braindead
authorHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 01:59:04 +0000 (01:59 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 01:59:04 +0000 (01:59 +0000)
tests/scripts/defines.sh
tests/scripts/test049-sync-config
tests/scripts/test050-syncrepl-multimaster

index 53bf7eb84347e253fd408f83c0602362124267c3..a3168c00ed44fdcd1927e5af7078f7aad7cd4e24 100755 (executable)
@@ -51,6 +51,7 @@ PROGDIR=./progs
 DATADIR=${USER_DATADIR-./testdata}
 TESTDIR=${USER_TESTDIR-$TESTWD/testrun}
 SCHEMADIR=${USER_SCHEMADIR-./schema}
+ABS_SCHEMADIR=`(cd $SCHEMADIR; pwd)`
 
 DBDIR1A=$TESTDIR/db.1.a
 DBDIR1B=$TESTDIR/db.1.b
index 759fcc58dafcb438cbe3c11b482b18a93f9337c3..978fd2dda28e37b16b37b684124c52553986b5b9 100755 (executable)
@@ -187,15 +187,15 @@ fi
 
 echo "Adding schema and databases on producer..."
 $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >>$TESTOUT 2>&1
-include: file:$SCHEMADIR/core.ldif
+include: file://$ABS_SCHEMADIR/core.ldif
 
-include: file:$SCHEMADIR/cosine.ldif
+include: file://$ABS_SCHEMADIR/cosine.ldif
 
-include: file:$SCHEMADIR/inetorgperson.ldif
+include: file://$ABS_SCHEMADIR/inetorgperson.ldif
 
-include: file:$SCHEMADIR/openldap.ldif
+include: file://$ABS_SCHEMADIR/openldap.ldif
 
-include: file:$SCHEMADIR/nis.ldif
+include: file://$ABS_SCHEMADIR/nis.ldif
 EOF
 RC=$?
 if test $RC != 0 ; then
index 3f75c4e5389d9722953d9f857c1cdd121786f559..ee2989c45d2ad3db64f12d7755b3cca842014d2b 100755 (executable)
@@ -204,15 +204,15 @@ EOF
 
 echo "Adding schema and databases on producer..."
 $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >>$TESTOUT 2>&1
-include: file:$SCHEMADIR/core.ldif
+include: file://$ABS_SCHEMADIR/core.ldif
 
-include: file:$SCHEMADIR/cosine.ldif
+include: file://$ABS_SCHEMADIR/cosine.ldif
 
-include: file:$SCHEMADIR/inetorgperson.ldif
+include: file://$ABS_SCHEMADIR/inetorgperson.ldif
 
-include: file:$SCHEMADIR/openldap.ldif
+include: file://$ABS_SCHEMADIR/openldap.ldif
 
-include: file:$SCHEMADIR/nis.ldif
+include: file://$ABS_SCHEMADIR/nis.ldif
 EOF
 RC=$?
 if test $RC != 0 ; then