From: Martin Schwenke Date: Thu, 27 Sep 2018 05:29:43 +0000 (+1000) Subject: ctdb-tests: Don't remove non-existent test database directory X-Git-Tag: tdb-1.3.17~1433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bde6fa09c93b601cf463c0e25691e8396445cca;p=thirdparty%2Fsamba.git ctdb-tests: Don't remove non-existent test database directory This directory is no longer used. Lack of removal doesn't seem to cause a problem. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/simple/scripts/local_daemons.bash b/ctdb/tests/simple/scripts/local_daemons.bash index 34412aa964d..6b13f3767aa 100644 --- a/ctdb/tests/simple/scripts/local_daemons.bash +++ b/ctdb/tests/simple/scripts/local_daemons.bash @@ -195,8 +195,6 @@ ctdb_stop_all () for pnn in $(seq 0 $(($TEST_LOCAL_DAEMONS - 1))) ; do stop_ctdb_1 "$pnn" done - - rm -rf "${SIMPLE_TESTS_VAR_DIR}/test.db" } restart_ctdb_1 ()