Change proxy address & comment out

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Add analyse_result section and env variable handling

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Rework some of the error and result gathering logic

Add a missing error management if the conffile is totally missing
Rework the logic of the result gathering to better handle error
reporting

Remove use of socket.gethostname() that can be done by a platform
function

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Add result analysis functionality

Add a control variable to exclude result analysis which may be
time consuming.

Add analyse_results() and check_crash() to do the result analysis

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Add /etc/default/kdump-test-script handling

The environment variables LOCAL_ONLY and NO_RESULT are verified
from the running environment. This is fine when the script is run
interactively but when executed as an initscript, it is difficult
to preset these environment variable. Adding a file in /etc/default
to define those variable makes it easier.

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Enforce treatment of env. variable = 0 to be False

Previous commit assumed that the presence of the variable always
meant that the condition was true. If var = 0; the condition is now
False

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
PEP8 cleanup

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Reorganise sections

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
More fixes to return codes

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Fix inverted test check

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Fix exit message and return

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>