1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00
samba-mirror/source4/script/tests/test_s3upgrade.sh
Jelmer Vernooij 7f7a2d133d r10517: Get rid of use of next_token() in lib/samba3/
(This used to be commit 811a6e28cca1ba09a95a89c344f4640b3d1dd74e)
2007-10-10 13:38:59 -05:00

16 lines
368 B
Bash
Executable File

#!/bin/sh
PREFIX=$1
if [ -z "$PREFIX" ]
then
echo "Usage: test_s3upgrade.sh <prefix>"
exit 1
fi
mkdir -p $PREFIX
rm -f $PREFIX/*
$VALGRIND bin/smbscript ../testprogs/ejs/samba3sam
$VALGRIND bin/smbscript ../testdata/samba3/verify ../testdata/samba3
$VALGRIND bin/smbscript setup/upgrade --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf