Update test_passwd.py to replace tdLog.error with tdLog.exit
This commit is contained in:
parent
25d34537db
commit
7ff0fb497a
|
@ -13,7 +13,7 @@ class TDTestCase(TBase):
|
|||
p = subprocess.Popen(c_file_path, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
out, err = p.communicate()
|
||||
if 0 != p.returncode:
|
||||
tdLog.error("Failed to run passwd test with output: %s \n error: %s" % (out, err))
|
||||
tdLog.exit("Failed to run passwd test with output: %s \n error: %s" % (out, err))
|
||||
tdLog.success(f"{__file__} successfully executed")
|
||||
|
||||
tdCases.addLinux(__file__, TDTestCase())
|
||||
|
|
Loading…
Reference in New Issue