summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-03-06 23:22:54 -0800
committerMatthieu Patou <mat@samba.org>2012-03-08 00:25:24 +0100
commit256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c (patch)
tree01616e096d7b31c73cc1b0255960feaf8553dfe1 /source4/setup
parentddbca1cde6e1f1f0a362506527322383c4dd5685 (diff)
downloadsamba-256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c.tar.gz
samba-256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c.tar.bz2
samba-256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c.zip
s4-selftest: create the st/provision if it didn't exists already
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Mar 8 00:25:24 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/tests/blackbox_upgradeprovision.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/setup/tests/blackbox_upgradeprovision.sh b/source4/setup/tests/blackbox_upgradeprovision.sh
index a3d1838f88..1bfb954938 100755
--- a/source4/setup/tests/blackbox_upgradeprovision.sh
+++ b/source4/setup/tests/blackbox_upgradeprovision.sh
@@ -12,6 +12,8 @@ shift 1
. `dirname $0`/../../../testprogs/blackbox/subunit.sh
+[ ! -d $PREFIX ] && mkdir $PREFIX
+
upgradeprovision() {
if [ -d $PREFIX/upgradeprovision ]; then
rm -fr $PREFIX/upgradeprovision