summaryrefslogtreecommitdiff
path: root/source4/selftest/test_s3upgrade.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/selftest/test_s3upgrade.sh')
-rwxr-xr-xsource4/selftest/test_s3upgrade.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/source4/selftest/test_s3upgrade.sh b/source4/selftest/test_s3upgrade.sh
index 1ed43cb8eb..692199acda 100755
--- a/source4/selftest/test_s3upgrade.sh
+++ b/source4/selftest/test_s3upgrade.sh
@@ -7,16 +7,14 @@ then
exit 1
fi
-SCRIPTDIR=../testprogs/ejs
-DATADIR=../testdata
-
-PATH=bin:$PATH
-export PATH
-
mkdir -p $PREFIX
rm -f $PREFIX/*
-. selftest/test_functions.sh
+incdir=`dirname $0`
+. $incdir/test_functions.sh
+
+SCRIPTDIR=$samba4srcdir/../testprogs/ejs
+DATADIR=$samba4srcdir/../testdata
-plantest "parse samba3" none bin/smbscript ../testdata/samba3/verify $CONFIGURATION ../testdata/samba3
-#plantest "upgrade" none bin/smbscript setup/upgrade $CONFIGURATION --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf
+plantest "parse samba3" none $samba4bindir/smbscript $DATADIR/samba3/verify $CONFIGURATION $DATADIR/samba3
+#plantest "upgrade" none $samba4bindir/smbscript setup/upgrade $CONFIGURATION --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf