test_suite: improve debug message

This commit is contained in:
Frank Liepold 2014-01-08 10:58:22 +01:00
parent bbd5c67cc1
commit 4a5f16f9c5
1 changed files with 1 additions and 1 deletions

View File

@ -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 cmd='kill -1 $remote_pid'; echo \$cmd; \$cmd; cat $remote_filename.err; exit 1; fi" || lib_exit 1
ssh -n $ssh_opt root@$host "if [ -s $remote_filename.err ]; then cat $remote_filename.err; echo killing $remote_pid; kill -1 $remote_pid; exit 1; fi" || lib_exit 1
eval $varname_pid=$remote_pid
eval $varname_script=$remote_filename