summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-17 14:22:35 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-17 17:32:13 +0200
commit656607943d8028721e2caa6a0d62d769864046e6 (patch)
tree2e008d579103337c84b5d80b7e7cc1efffc74a1c /source4
parent39f99e7d53848534c9a78c82b6d22101e1cbf539 (diff)
downloadsamba-656607943d8028721e2caa6a0d62d769864046e6.tar.gz
samba-656607943d8028721e2caa6a0d62d769864046e6.tar.bz2
samba-656607943d8028721e2caa6a0d62d769864046e6.zip
s4:selftest: recreate $SELFTEST_PREFIX/s4client with each make test run
Otherwise just fill the disks of the build-farm hosts. metze
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index aa72efcd65..a649b5409e 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -106,16 +106,16 @@ $smb4torture -V
bbdir=../testprogs/blackbox
-prefix_abs="$SELFTEST_PREFIX/s4client"
CONFIGURATION="--configfile=\$SMB_CONF_PATH"
-test -d "$prefix_abs" || mkdir "$prefix_abs"
+rm -rf $SELFTEST_PREFIX/s4client
+mkdir -p $SELFTEST_PREFIX/s4client
TORTURE_OPTIONS=""
TORTURE_OPTIONS="$TORTURE_OPTIONS $CONFIGURATION"
TORTURE_OPTIONS="$TORTURE_OPTIONS --maximum-runtime=$SELFTEST_MAXTIME"
TORTURE_OPTIONS="$TORTURE_OPTIONS --target=$SELFTEST_TARGET"
-TORTURE_OPTIONS="$TORTURE_OPTIONS --basedir=$prefix_abs"
+TORTURE_OPTIONS="$TORTURE_OPTIONS --basedir=$SELFTEST_PREFIX/s4client"
if [ -z "$SELFTEST_VERBOSE" ]; then
TORTURE_OPTIONS="$TORTURE_OPTIONS --option=torture:progress=no"
fi