From 67ec9b3d96b27f5dd6e133dc70fee5fba1604ab7 Mon Sep 17 00:00:00 2001 From: Frank Liepold Date: Wed, 2 Apr 2014 09:23:13 +0200 Subject: [PATCH] test_suite: fix: don't remove 5.mars.total.log too early. --- test_suite/mars/modules/cluster.sh | 2 +- test_suite/mars/modules/perftest.sh | 2 -- test_suite/mars/modules/remote_dev.sh | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test_suite/mars/modules/cluster.sh b/test_suite/mars/modules/cluster.sh index bffe938c..767dd85a 100644 --- a/test_suite/mars/modules/cluster.sh +++ b/test_suite/mars/modules/cluster.sh @@ -239,7 +239,7 @@ function cluster_create_debugfiles { local host=$1 lib_vmsg " creating debugfile $lib_err_total_log_file" - lib_remote_idfile $host "touch $lib_err_total_log_file" || lib_exit 1 + lib_remote_idfile $host "> $lib_err_total_log_file" || lib_exit 1 } function cluster_remove_debugfiles diff --git a/test_suite/mars/modules/perftest.sh b/test_suite/mars/modules/perftest.sh index 230b93ba..a35acc14 100644 --- a/test_suite/mars/modules/perftest.sh +++ b/test_suite/mars/modules/perftest.sh @@ -36,7 +36,6 @@ function perftest_run perftest_check_variables - cluster_remove_debugfiles $primary_host cluster_create_debugfiles $primary_host perftest_prepare_${perftest_action} $primary_host $secondary_host $res \ @@ -437,7 +436,6 @@ function perftest_prepare_resource { local res=$1 secondary_host=$2 resource_mount_mars_and_rm_resource_dir_all $res - cluster_remove_debugfiles $secondary_host cluster_create_debugfiles $secondary_host resource_run_first marsview_wait_for_state $secondary_host $res "disk" "Uptodate" \ diff --git a/test_suite/mars/modules/remote_dev.sh b/test_suite/mars/modules/remote_dev.sh index c7431c6f..ae0895c6 100644 --- a/test_suite/mars/modules/remote_dev.sh +++ b/test_suite/mars/modules/remote_dev.sh @@ -31,7 +31,6 @@ function remote_dev_run mount_mount_data_device $primary_host $res resource_clear_data_device $primary_host $res - cluster_remove_debugfiles $primary_host cluster_create_debugfiles $primary_host lib_rw_start_writing_data_device $primary_host "writer_pid" \