summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_s3upgrade.sh
blob: d981d5410a0020d3923a08cd5b353a1ac9668311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
PREFIX=$1

if [ -z "$PREFIX" ]
then
	echo "Usage: test_s3upgrade.sh <prefix>"
	exit 1
fi

mkdir -p $PREFIX
rm -f $PREFIX/*

bin/smbscript ../testprogs/ejs/samba3sam
bin/smbscript ../testdata/samba3/verify ../testdata/samba3
bin/smbscript setup/upgrade --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf