diff options
author | Matthieu Patou <mat@matws.net> | 2012-03-06 23:22:54 -0800 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2012-03-08 00:25:24 +0100 |
commit | 256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c (patch) | |
tree | 01616e096d7b31c73cc1b0255960feaf8553dfe1 /source4/setup | |
parent | ddbca1cde6e1f1f0a362506527322383c4dd5685 (diff) | |
download | samba-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-x | source4/setup/tests/blackbox_upgradeprovision.sh | 2 |
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 |