]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Don't clean up test var directory in autotest target
authorMartin Schwenke <martin@meltin.net>
Wed, 1 May 2019 05:17:14 +0000 (15:17 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 7 May 2019 06:56:01 +0000 (06:56 +0000)
If the directory is always cleaned up then it is not possible to look
at daemon logs to debug test failures.

This target is only really used by autobuild.py, which (optionally)
cleans up the parent directory anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13924

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue May  7 06:56:01 UTC 2019 on sn-devel-184

ctdb/wscript

index 4f2fcbf69c9a451a40d96351950f1fff765c9f9c..eccc5e76f48f8b5522b12d96b94fe17daf6b23da 100644 (file)
@@ -1135,7 +1135,7 @@ def test(ctx):
 
 def autotest(ctx):
     env = samba_utils.LOAD_ENVIRONMENT()
-    cmd = 'tests/run_tests.sh -e -S %s -C' % env.SOCKET_WRAPPER_SO_PATH
+    cmd = 'tests/run_tests.sh -e -S %s' % env.SOCKET_WRAPPER_SO_PATH
     ret = samba_utils.RUN_COMMAND(cmd)
     if ret != 0:
         print('autotest exited with exit status %d' % ret)