diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-25 20:49:19 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-05 02:33:10 +0900 |
commit | 8dde5715b280738505199023034397a15dc7bfbb (patch) | |
tree | 7f681a8cbb04158cf4d37183e5939bb94342e73c /scripts/selinux | |
parent | 6d3db46c8e331908775b0135dc7d2e5920bf6d90 (diff) | |
download | linux-stable-8dde5715b280738505199023034397a15dc7bfbb.tar.gz linux-stable-8dde5715b280738505199023034397a15dc7bfbb.tar.bz2 linux-stable-8dde5715b280738505199023034397a15dc7bfbb.zip |
kconfig: tests: fix recursive inclusion unit test
Adding SPDX license identifier is pretty safe; however, here is one
exception.
Since commit ec8f24b7faaf ("treewide: Add SPDX license identifier -
Makefile/Kconfig"), "make testconfig" would not pass.
When Kconfig detects a circular file inclusion, it displays error
messages with a file name and a line number prefixed to each line.
The unit test checks if Kconfig emits the error messages correctly
(this also checks the line number correctness).
Now that the test input has the SPDX license identifier at the very top,
the line numbers in the expected stderr should be incremented by 1.
Fixes: ec8f24b7faaf ("treewide: Add SPDX license identifier - Makefile/Kconfig")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions