summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-22 07:25:59 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-22 01:31:57 +0200
commit2b404462f5b055843ecc7af27bfd05d5d11d09e4 (patch)
tree66a2c0466c4c660d791c66378230182a0f287306 /testprogs/blackbox
parent9170f9ce95583f30d108d4a2d23b05f246a3514c (diff)
downloadsamba-2b404462f5b055843ecc7af27bfd05d5d11d09e4.tar.gz
samba-2b404462f5b055843ecc7af27bfd05d5d11d09e4.tar.bz2
samba-2b404462f5b055843ecc7af27bfd05d5d11d09e4.zip
selftest: Pass --use-ntvfs to provison in renamedc test
Also fix test prefix to match the test Andrew Bartlett
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