linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] blktests: Re-enable shellcheck warnings
@ 2018-06-19 20:23 Bart Van Assche
  2018-06-19 20:23 ` [PATCH 1/9] common/rc: Fix _have_tracepoint() Bart Van Assche
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Bart Van Assche @ 2018-06-19 20:23 UTC (permalink / raw)
  To: Omar Sandoval; +Cc: linux-block, Bart Van Assche

Hello Omar,

Since I noticed that several useful shellcheck warnings are suppressed in the
blktests project, I came up with this patch series that reenables all
shellcheck warnings and also suppresses false positive shellcheck reports. It
would be appreciated if you could have a look at this patch series.

Thanks,

Bart.

Bart Van Assche (9):
  common/rc: Fix _have_tracepoint()
  Annotate include statements in shell scripts where the source file is
    a variable
  check, tests/meta/012: Use array["index"] instead of array[index]
  Suppress shellcheck complaints about global variables
  check: Avoid that shellcheck complains that $FULL appears unused
  Multiple tests: remove unused and undefined variables
  Avoid passing tests/block/002 arguments to _init_scsi_debug
  check: Suppress a shellcheck warning about the DMESG_FILTER
    initialization
  Makefile: Do not suppress useful shellcheck warnings

 Makefile          | 15 +-------------
 check             | 53 ++++++++++++++++++++++++++---------------------
 common/cpuhotplug |  2 ++
 common/fio        |  2 ++
 common/iopoll     |  2 ++
 common/loop       |  1 +
 common/nbd        |  2 ++
 common/nvme       |  2 ++
 common/rc         |  2 ++
 common/scsi       |  2 ++
 common/scsi_debug |  3 +++
 common/shellcheck |  4 ++++
 new               |  1 +
 tests/block/001   |  1 +
 tests/block/002   |  3 ++-
 tests/block/003   |  2 ++
 tests/block/004   |  2 ++
 tests/block/005   |  2 ++
 tests/block/006   |  2 ++
 tests/block/007   |  1 +
 tests/block/009   |  1 +
 tests/block/010   |  2 ++
 tests/block/011   |  2 ++
 tests/block/012   |  2 ++
 tests/block/013   |  2 ++
 tests/block/014   |  2 ++
 tests/block/015   |  2 ++
 tests/block/016   |  2 ++
 tests/block/017   |  2 ++
 tests/block/018   |  2 ++
 tests/block/019   |  2 ++
 tests/block/020   |  2 ++
 tests/block/021   |  2 ++
 tests/loop/001    |  2 ++
 tests/loop/003    |  5 ++---
 tests/loop/005    |  2 ++
 tests/meta/001    |  2 ++
 tests/meta/002    |  2 ++
 tests/meta/003    |  2 ++
 tests/meta/004    |  2 ++
 tests/meta/005    |  2 ++
 tests/meta/006    |  2 ++
 tests/meta/007    |  2 ++
 tests/meta/008    |  2 ++
 tests/meta/009    |  2 ++
 tests/meta/010    |  2 ++
 tests/meta/011    |  2 ++
 tests/meta/012    |  6 ++++--
 tests/nbd/001     |  2 ++
 tests/nbd/002     |  2 ++
 tests/nvme/001    |  2 ++
 tests/nvme/002    |  2 ++
 tests/nvme/003    |  2 ++
 tests/nvme/004    |  2 ++
 tests/nvme/005    |  2 ++
 tests/nvme/006    |  2 ++
 tests/nvme/007    |  2 ++
 tests/nvme/008    |  2 ++
 tests/nvme/009    |  2 ++
 tests/nvme/010    |  5 +++--
 tests/nvme/011    |  5 +++--
 tests/nvme/012    |  3 ++-
 tests/nvme/013    |  3 ++-
 tests/scsi/001    |  2 ++
 tests/scsi/002    |  2 ++
 tests/scsi/003    |  2 ++
 tests/scsi/004    |  1 +
 67 files changed, 161 insertions(+), 50 deletions(-)
 create mode 100644 common/shellcheck

-- 
2.17.1

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

end of thread, other threads:[~2018-06-25 19:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-19 20:23 [PATCH 0/9] blktests: Re-enable shellcheck warnings Bart Van Assche
2018-06-19 20:23 ` [PATCH 1/9] common/rc: Fix _have_tracepoint() Bart Van Assche
2018-06-25  9:07   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 2/9] Annotate include statements in shell scripts where the source file is a variable Bart Van Assche
2018-06-25  9:08   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 3/9] check, tests/meta/012: Use array["index"] instead of array[index] Bart Van Assche
2018-06-25  9:09   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 4/9] Suppress shellcheck complaints about global variables Bart Van Assche
2018-06-25  9:09   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 5/9] check: Avoid that shellcheck complains that $FULL appears unused Bart Van Assche
2018-06-25  9:10   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 6/9] Multiple tests: remove unused and undefined variables Bart Van Assche
2018-06-25  9:13   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 7/9] Avoid passing tests/block/002 arguments to _init_scsi_debug Bart Van Assche
2018-06-25  9:16   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 8/9] check: Suppress a shellcheck warning about the DMESG_FILTER initialization Bart Van Assche
2018-06-25  9:16   ` Johannes Thumshirn
2018-06-19 20:23 ` [PATCH 9/9] Makefile: Do not suppress useful shellcheck warnings Bart Van Assche
2018-06-25  9:16   ` Johannes Thumshirn
2018-06-25 19:48 ` [PATCH 0/9] blktests: Re-enable " Omar Sandoval

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).