oec-hardware/oec-hardware-1.1.2-fix-system.patch
cuixucui 975335785e fix system test case failed
(cherry picked from commit 6848a2133168ee0f2bee8fe2fcc5c7f4ad92b842)
2022-09-05 20:28:14 +08:00

13 lines
506 B
Diff

diff -Naur rpm/tests/system/system.py oech/tests/system/system.py
--- rpm/tests/system/system.py 2022-09-05 16:28:46.418278940 +0800
+++ oech/tests/system/system.py 2022-09-05 16:31:23.830278940 +0800
@@ -62,7 +62,7 @@
output = rpm_verify[0].split('\n')
for file in output:
- if "test_config.yaml" in file:
+ if not file or "test_config.yaml" in file:
continue
flag = False
self.logger.error(