summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Yuhang <zhouyuhang@kylinos.cn>2026-05-20 15:08:00 +0800
committerNicolas Schier <nsc@kernel.org>2026-06-05 19:24:49 +0200
commit65b09bfa8aa7ebe087093b591525385efb2d58b0 (patch)
tree43cc87c8fe9577de499c75b9b6b66353e027001f
parente43ffb69e0438cddd72aaa30898b4dc446f664f8 (diff)
downloadlwn-65b09bfa8aa7ebe087093b591525385efb2d58b0.tar.gz
lwn-65b09bfa8aa7ebe087093b591525385efb2d58b0.zip
kconfig: Fix repeated include selftest expectation
The err_repeated_inc test was added with an expected stderr fixture that does not match the diagnostic printed by kconfig. Running "make testconfig" currently fails in that test even though the parser reports the duplicated include correctly: [stderr] Kconfig.inc1:4: error: repeated inclusion of Kconfig.inc3 Kconfig.inc2:3: note: location of first inclusion of Kconfig.inc3 The fixture expects "Repeated" and "Location" with capital letters, but the diagnostic emitted by scripts/kconfig/util.c uses lowercase words. Update the fixture to match the real message. Fixes: 102d712ded3e ("kconfig: Error out on duplicated kconfig inclusion") Signed-off-by: Zhou Yuhang <zhouyuhang@kylinos.cn> Tested-by: Nicolas Schier <nsc@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Link: https://patch.msgid.link/20260520070800.2265479-1-zhouyuhang1010@163.com Signed-off-by: Nicolas Schier <nsc@kernel.org>
-rw-r--r--scripts/kconfig/tests/err_repeated_inc/expected_stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/tests/err_repeated_inc/expected_stderr b/scripts/kconfig/tests/err_repeated_inc/expected_stderr
index 95d90d6a93c5..53071430ea7d 100644
--- a/scripts/kconfig/tests/err_repeated_inc/expected_stderr
+++ b/scripts/kconfig/tests/err_repeated_inc/expected_stderr
@@ -1,2 +1,2 @@
-Kconfig.inc1:4: error: Repeated inclusion of Kconfig.inc3
-Kconfig.inc2:3: note: Location of first inclusion of Kconfig.inc3
+Kconfig.inc1:4: error: repeated inclusion of Kconfig.inc3
+Kconfig.inc2:3: note: location of first inclusion of Kconfig.inc3