diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/envutil.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index cbb855886f..3b3c6337cd 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -329,7 +329,8 @@ module Test if message and !message.empty? full_message << message << "\n" end - full_message << "pid #{pid} killed by #{sigdesc}" + full_message << "pid #{pid}" + full_message << " killed by #{sigdesc}" if sigdesc if out and !out.empty? full_message << "\n#{out.gsub(/^/, '| ')}" full_message << "\n" if /\n\z/ !~ full_message |