r9834: More tests for the upgrade from Samba3
[gd/samba/.git] / source4 / script / tests / test_s3upgrade.sh
index 50aa52f0679a7159bc19ae392c8b6d3b252ec2d5..e4e5d828e58180952743b13d448e56486b7d0112 100755 (executable)
@@ -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