diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-08-17 14:22:35 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-08-17 17:32:13 +0200 |
commit | 656607943d8028721e2caa6a0d62d769864046e6 (patch) | |
tree | 2e008d579103337c84b5d80b7e7cc1efffc74a1c | |
parent | 39f99e7d53848534c9a78c82b6d22101e1cbf539 (diff) | |
download | samba-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
-rwxr-xr-x | source4/selftest/tests.sh | 6 |
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 |