r9834: More tests for the upgrade from Samba3
[gd/samba-autobuild/.git] / source / script / tests / test_s3upgrade.sh
1 #!/bin/sh
2 PREFIX=$1
3
4 if [ -z "$PREFIX" ]
5 then
6         echo "Usage: test_s3upgrade.sh <prefix>"
7         exit 1
8 fi
9
10 mkdir -p $PREFIX
11 rm -f $PREFIX/*
12
13 bin/smbscript ../testdata/samba3/verify ../testdata/samba3
14 bin/smbscript setup/upgrade --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf