summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-09 14:28:28 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-09 14:28:28 +0200
commit0f4882ba3d329005d80b4426688b231381eba5c2 (patch)
treecb86ed145d3766dc3e54afa4faf4b06bb7c3ac5e /testsuite.py
parent7eace27993ad3aa1d6911866d9c60a11f32d36d9 (diff)
Verify that indented .config assignments are ignored.
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()
#