mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
18 lines
309 B
Bash
Executable File
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
|