From 0712cbdab4c397b9f74fcd681f40df9c9c2c59a8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 31 Aug 2005 16:51:09 +0000 Subject: r9834: More tests for the upgrade from Samba3 (This used to be commit d2db164d6f674cada470e871c558c75f98244141) --- source4/script/tests/test_s3upgrade.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'source4/script/tests/test_s3upgrade.sh') diff --git a/source4/script/tests/test_s3upgrade.sh b/source4/script/tests/test_s3upgrade.sh index 50aa52f067..e4e5d828e5 100755 --- a/source4/script/tests/test_s3upgrade.sh +++ b/source4/script/tests/test_s3upgrade.sh @@ -7,11 +7,8 @@ then exit 1 fi -DATADIR=$PREFIX/upgrade +mkdir -p $PREFIX +rm -f $PREFIX/* -mkdir -p $DATADIR -rm -f $DATADIR/* - -bin/smbscript setup/upgrade --targetdir=$DATADIR ../testdata/samba3 ../testdata/samba3/smb.conf - -# FIXME: Do some sanity checks on the output files +bin/smbscript ../testdata/samba3/verify ../testdata/samba3 +bin/smbscript setup/upgrade --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf -- cgit