summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite.py b/testsuite.py
index 4b35474..fbd4485 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -1345,10 +1345,14 @@ def run_selftests():
verify_value("BOOL", "n")
verify_value("STRING", "foo bar")
- # Loading a completely empty .config should also reset values
+ # Loading a completely empty .config should reset values
c.load_config("Kconfiglib/tests/empty")
verify_value("STRING", "")
+ # An indented assignment in a .config should be ignored
+ c.load_config("Kconfiglib/tests/config_indented")
+ verify_value("IGNOREME", "y")
+
#
# get_config()
#