]> www.infradead.org Git - users/hch/blktests.git/commitdiff
nvme/rc: replace SKIP_REASON with SKIP_REASONS
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 22 Jul 2022 00:28:02 +0000 (09:28 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 22 Jul 2022 00:28:02 +0000 (09:28 +0900)
The commit 5c2012764cbc (common, tests: Print multiple skip reasons)
changed the variable SKIP_REASON to the array SKIP_REASONS. The commit
e9828f1646cd ("nvme/rc: Fixup SKIP_REASON usage") changed SKIP_REASON
usage from variable to array, but did not change the name. Just add 'S'
to fix it.

Fixes: e9828f1646cd ("nvme/rc: Fixup SKIP_REASON usage")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/nvme/rc

index f2cfd8a5b7e4a49eed74eadeb5d6ad089465d5d7..ff13ea257cab3270bc2b727e26c4e61d33e77cf7 100644 (file)
@@ -98,7 +98,7 @@ _require_nvme_trtype_is_fabrics() {
 
 _require_nvme_cli_auth() {
        if ! nvme gen-dhchap-key -n nvmf-test-subsys > /dev/null 2>&1 ; then
-               SKIP_REASON+=("nvme gen-dhchap-key command missing")
+               SKIP_REASONS+=("nvme gen-dhchap-key command missing")
                return 1
        fi
        return 0