1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00
Files
samba-mirror/source/script/tests/test_s3upgrade.sh
Jelmer Vernooij 488d737fb0 r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
2007-10-10 13:35:04 -05:00

18 lines
309 B
Bash
Executable File

#!/bin/sh
PREFIX=$1
if [ -z "$PREFIX" ]
then
print "Usage: test_s3upgrade.sh <prefix"
exit 1
fi
DATADIR=$PREFIX/upgrade
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