aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utilities_tests.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-03-03 14:54:48 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-03-03 14:54:48 +0000
commitd19bc046d549aaf634314a257dd22623df731648 (patch)
treed6409a64fb051b38828f4b9dde3d607b5c7110b9 /tests/utilities_tests.py
parent1dea7d3086b8d9200aa48d051420bcf8c51dbe98 (diff)
downloadsos-d19bc046d549aaf634314a257dd22623df731648.tar.gz
[networking] test nmcli status before using output
The networking module assumes that nmcli commands succeed if the results object is not None; this is not valid and will lead to errors in subsequent commands if the call returned an error message instead of the expected content: [plugin:networking] collecting output of 'nmcli con show conf 'Error: nmcli (0.9.10.0) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable.'' Traceback (most recent call last): File "/usr/sbin/sosreport", line 25, in <module> main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1459, in main sos.execute() ValueError: No closing quotation Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/utilities_tests.py')
0 files changed, 0 insertions, 0 deletions