]> www.infradead.org Git - users/hch/blktests.git/commit
tests/srp/012: Fix the displayed test status
authorBart Van Assche <bvanassche@acm.org>
Mon, 23 Aug 2021 18:10:31 +0000 (11:10 -0700)
committerOmar Sandoval <osandov@osandov.com>
Mon, 22 Nov 2021 19:13:19 +0000 (11:13 -0800)
commit547997ecb87442ed83d70a807df86792f7886dd7
treefddc845815cf332227ecbc09cdc95a3bd897aa4e
parent19f347bff9e8d6e4f21c3578c15c09365c58c0c4
tests/srp/012: Fix the displayed test status

The _have_* scripts set the SKIP_REASON variable. That variable controls
whether the status [passed] or [not run] is displayed. This patch causes
the status [passed] to be displayed instead of [not run] if legacy dm
support is not available.

Fixes: 0a2cbbd1874d ("srp and nvmeof-mp: Check whether legacy dm is supported")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
tests/srp/012