summaryrefslogtreecommitdiffstats
path: root/testcases/features
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2016-07-05 14:56:41 +0200
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2016-07-05 14:59:36 +0200
commit48e4d996c0df1c1858f3f58beb9df2c254cd0ce7 (patch)
tree42982871410e1239f1fffa3539380cb1dba25683 /testcases/features
parentd06192797130151a119d8854479eba01bbe52cce (diff)
Fix doctor test return check
utils.functest_utils.execute_command returns 0 if no error Change-Id: Iedc36b50521cf281a7b8da351cde9e1c8f9468bd Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Diffstat (limited to 'testcases/features')
-rw-r--r--testcases/features/doctor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index ca362ba67..946b0adf6 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -40,7 +40,7 @@ def main():
stop_time = time.time()
duration = round(stop_time - start_time, 1)
- if ret:
+ if ret == 0:
logger.info("doctor OK")
test_status = 'OK'
else: