From 0f4882ba3d329005d80b4426688b231381eba5c2 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 9 Jun 2015 14:28:28 +0200 Subject: Verify that indented .config assignments are ignored. --- testsuite.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuite.py') 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() # -- cgit v1.2.3