Use ps -efww rather than ps -ef
authorPeter Kjellerstedt <pkj@axis.com>
Fri, 1 Feb 2013 09:56:52 +0000 (10:56 +0100)
committerChristian Johansen <christian@gitorious.com>
Fri, 15 Feb 2013 14:00:41 +0000 (15:00 +0100)
commit215dd3d7c7afd5c74134c08072be85ffd705a009
treef2d231e7ef6df2ea7b24617f65285ce46b2d7fec
parent70f057c87aaa729e4778d9abd6147d2253ac5326
Use ps -efww rather than ps -ef

Without this atleast_one_process_name_matching() may fail to identify a
running process since ps will only output the first 80 characters of
information per line, and the string being searched for may be outside
of them.

This caused one unit test to fail for me:

test: Self-diagnostics should detect if any current ps entry contains
given string. (DiagnosticsTest)

Conflicts:
lib/gitorious/diagnostics.rb
lib/gitorious/diagnostics.rb