Update check_eva.py

Change parsing of SSSU output header to make it work with Command View EVA >= 10.
This commit is contained in:
argusb 2013-08-12 14:40:23 +02:00
parent a01af47d86
commit b0663e0495
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ def run_sssu(system=None, command="ls system full"):
error = 0
if output.pop(0).strip() != '': error = 1
if output.pop(0).strip() != '': error = 1
if output.pop(0).strip() != 'SSSU for HP StorageWorks Command View EVA': error = 1
if output.pop(0).strip().find('SSSU for HP ') != 0: error = 1
if output.pop(0).strip().find('Version:') != 0: error=1
if output.pop(0).strip().find('Build:') != 0: error=1
if output.pop(0).strip().find('NoSystemSelected> ') != 0: error=1