From bbd5c67cc1544fe3d588cabbabc48867b102e33e Mon Sep 17 00:00:00 2001 From: Frank Liepold Date: Wed, 8 Jan 2014 10:48:04 +0100 Subject: [PATCH] test_suite: be more verbose --- test_suite/scripts/modules/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suite/scripts/modules/lib.sh b/test_suite/scripts/modules/lib.sh index d054dfca..8db58406 100644 --- a/test_suite/scripts/modules/lib.sh +++ b/test_suite/scripts/modules/lib.sh @@ -244,7 +244,7 @@ function lib_start_script_remote_bg ssh -n $ssh_opt root@$host ps -fp $remote_pid || lib_exit 1 "$error_hint" lib_vmsg " checking whether process $remote_pid has errors in $remote_filename.err" - ssh -n $ssh_opt root@$host "if [ -s $remote_filename.err ]; then cat $remote_filename.err; exit 1; fi" || lib_exit 1 + ssh -n $ssh_opt root@$host "if [ -s $remote_filename.err ]; then cmd='kill -1 $remote_pid'; echo \$cmd; \$cmd; cat $remote_filename.err; exit 1; fi" || lib_exit 1 eval $varname_pid=$remote_pid eval $varname_script=$remote_filename