diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/test_s3upgrade.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/script/tests/test_s3upgrade.sh b/source4/script/tests/test_s3upgrade.sh index 4419e37d80..580fd48821 100755 --- a/source4/script/tests/test_s3upgrade.sh +++ b/source4/script/tests/test_s3upgrade.sh @@ -7,9 +7,16 @@ then exit 1 fi +SCRIPTDIR=../testprogs/ejs +DATADIR=../testdata + +PATH=bin:$PATH +export PATH + 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 +. script/tests/test_functions.sh + +testit "parse samba3" bin/smbscript ../testdata/samba3/verify $CONFIGURATION ../testdata/samba3 +#testit "upgrade" bin/smbscript setup/upgrade $CONFIGURATION --verify --targetdir=$PREFIX ../testdata/samba3 ../testdata/samba3/smb.conf |