summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/renamedc.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/testprogs/blackbox/renamedc.sh b/testprogs/blackbox/renamedc.sh
index b2fa87d242..69a05e5388 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