Commit e6d45f5
tests: check_selftest: fix error wording
while testing check_selftest on my patch, which contains the following order:
CONFIG_NET_SCH_INGRESS=y
CONFIG_NETCONSOLE=m
It printed the following error, which is clearly wrong:
Validation errors in tools/testing/selftests/drivers/net/bonding/config:
Lines 14-15 invalid order, CONFIG_NETCONSOLE=m should be after CONFIG_NET_SCH_INGRESS=y
Fix the wording saying that current line should come before the previous one,
given there is an error and current line is already after previous line. Also
rename variables to make the code easier to reason about.
Signed-off-by: Breno Leitao <leitao@debian.org>
Fixes: af02b9f ("tests: make check_selftests check format of Makefiles and configs")1 parent b327707 commit e6d45f5
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments