diff options
author | Shwetha-H-Panduranga <shwetha@gluster.com> | 2012-03-05 12:27:07 +0530 |
---|---|---|
committer | Shwetha-H-Panduranga <shwetha@gluster.com> | 2012-03-05 12:27:55 +0530 |
commit | 9eec965620e1e66e34567e989e58c9df23476cbc (patch) | |
tree | db4dd0c7cc2e76bc56d5b7c309fd44bb87320a06 /libs | |
parent | c1a19ed78f8d00487819c01973a71ccb225a1e9d (diff) |
Actual exit status value is output['exitstatus']. exit_status variable is not defined
Change-Id: I76754c885411f597420a403bd7955be4d1876944
Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
Diffstat (limited to 'libs')
-rw-r--r-- | libs/utils/atfutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/atfutils.py b/libs/utils/atfutils.py index 1f0d499..b6f5174 100644 --- a/libs/utils/atfutils.py +++ b/libs/utils/atfutils.py @@ -134,7 +134,7 @@ def validate_output(output, expected_exit_status, expected_output, if exit_status_match is False: logger.error("Expected exit status is '%s'.Actual exit status is '%s'" % - (expected_exit_status, exit_status)) + (expected_exit_status, output['exitstatus'])) if output_data_match is False: logger.error("Expected ouput is '%s'.Actual output is '%s'" % (expected_output, actual_output)) |