From 2b404462f5b055843ecc7af27bfd05d5d11d09e4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Aug 2012 07:25:59 +1000 Subject: [PATCH] selftest: Pass --use-ntvfs to provison in renamedc test Also fix test prefix to match the test Andrew Bartlett --- testprogs/blackbox/renamedc.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testprogs/blackbox/renamedc.sh b/testprogs/blackbox/renamedc.sh index b2fa87d242e..69a05e5388b 100755 --- a/testprogs/blackbox/renamedc.sh +++ b/testprogs/blackbox/renamedc.sh @@ -12,8 +12,8 @@ shift 1 . `dirname $0`/subunit.sh -if [ ! -d $PREFIX/upgradeprovision_full ]; then - $PYTHON $SRCDIR/source4/setup/provision --host-name=bar --domain=FOO --realm=foo.example.com --targetdir="$PREFIX/upgradeprovision_full" --server-role="dc" +if [ ! -d $PREFIX/renamedc_test ]; then + $PYTHON $SRCDIR/source4/setup/provision --host-name=bar --domain=FOO --realm=foo.example.com --targetdir="$PREFIX/renamedc_test" --server-role="dc" --use-ntvfs fi @@ -21,7 +21,7 @@ testrenamedc() { $PYTHON $SRCDIR/source4/scripting/bin/renamedc \ --oldname="BAR" \ --newname="RAYMONBAR" \ - -s $PREFIX/upgradeprovision_full/etc/smb.conf + -s $PREFIX/renamedc_test/etc/smb.conf } @@ -29,14 +29,14 @@ testrenamedc2() { $PYTHON $SRCDIR/source4/scripting/bin/renamedc \ --oldname="RAYMONBAR" \ --newname="BAR" \ - -s $PREFIX/upgradeprovision_full/etc/smb.conf + -s $PREFIX/renamedc_test/etc/smb.conf } testit "renamedc" testrenamedc testit "renamedc2" testrenamedc2 if [ $failed -eq 0 ]; then - rm -rf $PREFIX/upgradeprovision_full + rm -rf $PREFIX/renamedc_test fi exit $failed -- 2.11.4.GIT