From cd303df35cc2c661ff6667dca218b16967ff6cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 25 May 2018 12:12:35 +0300 Subject: [PATCH] Revert "Trunate logs instead of removing" This reverts commit 14dc215a787e64fb6457889b647c861f634d68a5. --- maxscale-system-test/testconnections.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxscale-system-test/testconnections.cpp b/maxscale-system-test/testconnections.cpp index 5895013f9..a2d6f908b 100644 --- a/maxscale-system-test/testconnections.cpp +++ b/maxscale-system-test/testconnections.cpp @@ -642,8 +642,8 @@ void TestConnections::init_maxscale(int m) "chmod a+x %s;" "%s" "iptables -F INPUT;" - "truncate -s 0 %s/maxscale.log;" - "truncate -s 0 %s/maxscale1.log;" + "rm -f %s/maxscale.log;" + "rm -f %s/maxscale1.log;" "rm -rf /tmp/core* /dev/shm/* /var/lib/maxscale/maxscale.cnf.d/ /var/lib/maxscale/*;" "%s", maxscales->access_homedir[m],