projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backport: Fix the bug in OptCheck.check() introduced in cb779a71bf57d95b
[kconfig-hardened-check.git]
/
kconfig_hardened_check
/
__init__.py
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index a3a3293797e2c4ba0bba5906e5c7dd2dcf613a41..5bc0d375d5df8de038e4e50a8e0b8ae26d7c0b37 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-96,7
+96,7
@@
class OptCheck:
if self.expected == 'is not off':
if self.state == 'off':
self.result = 'FAIL: is off'
- if self.state == '0':
+
el
if self.state == '0':
self.result = 'FAIL: is off, "0"'
elif self.state is None:
self.result = 'FAIL: is off, not found'