public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC] Using shellcheck for shell make check
@ 2021-11-29 11:05 Petr Vorel
  2021-11-29 11:54 ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2021-11-29 11:05 UTC (permalink / raw)
  To: Cyril Hrubis, Joerg Vehlow, Li Wang; +Cc: ltp

Hi,

checkbashisms does not detect all things: e.g. not catching {1..$FILE_COUNT}
[1]. Maybe we should reconsider using *also* shellcheck as Joerg suggested
(keep checkbashisms).

I don't like shellcheck output, but it can detects errors checkbashisms cannot
detect (checkbashisms is regexp based, but shellcheck IMHO evaluates the code).
Also it's configurable, thus ve could disable check we don't like or enable only
what we want to check. Or we can run just --severity=warning or
--severity=error. If you're not against it, I can have look into this.

Kind regards,
Petr

[1] https://lore.kernel.org/ltp/YZy5HNteJmoicTtJ@pevik/



-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-30 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-29 11:05 [LTP] [RFC] Using shellcheck for shell make check Petr Vorel
2021-11-29 11:54 ` Cyril Hrubis
2021-11-30  9:29   ` Richard Palethorpe
2021-11-30 10:01     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox