[pve-devel] [PATCH ha-manager 5/7] adapt test output for better readability

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 14 14:41:51 CEST 2016


To match the one from the parser self test and to separate each test
with a new line, for better readability.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 src/test/test_fence_config.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test_fence_config.pl b/src/test/test_fence_config.pl
index 7ca7e7f..e19594e 100755
--- a/src/test/test_fence_config.pl
+++ b/src/test/test_fence_config.pl
@@ -191,7 +191,7 @@ sub parser_self_check {
 sub run_test {
     my $cfg_fn = shift;
 
-    print "check: $cfg_fn\n";
+    print "* check: $cfg_fn\n";
 
     my $outfile = "$cfg_fn.commands";
     my $expect = "$cfg_fn.expect";
@@ -215,7 +215,7 @@ sub run_test {
 	$res = system('cp', $outfile, $expect);
 	die "test '$cfg_fn' failed\n" if $res != 0;
     }
-    print "end: $cfg_fn (success)\n";
+    print "* end fence test: $cfg_fn (success)\n\n";
 }
 
 
-- 
2.1.4




More information about the pve-devel mailing list