Commit 3a489d4
tests: shellcheck: keep files compliant
If a file was shellcheck compliant before or is new, it is interesting
to tell the reviewers when this status changes or if the new file is not
shellcheck compliant from the beginning.
A new dedicated file is used for each modified shell script, using a
hash of the file path to cope with files with the same base name. If the
status is different than before, warnings + info + style are added to
the errors count.
Note: it is not clear if the log message about a file no longer being
shellcheck compliant any more should be more visible or not, i.e. sent
to $DESC_FD.
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>1 parent 4c8449d commit 3a489d4
1 file changed
+30
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
| |||
78 | 103 | | |
79 | 104 | | |
80 | 105 | | |
81 | | - | |
| 106 | + | |
82 | 107 | | |
83 | 108 | | |
0 commit comments