diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-09 14:28:28 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-09 14:28:28 +0200 |
| commit | 0f4882ba3d329005d80b4426688b231381eba5c2 (patch) | |
| tree | cb86ed145d3766dc3e54afa4faf4b06bb7c3ac5e /testsuite.py | |
| parent | 7eace27993ad3aa1d6911866d9c60a11f32d36d9 (diff) | |
Verify that indented .config assignments are ignored.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 6 |
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() # |
