]> www.infradead.org Git - users/sagi/blktests.git/commit
nvme: don't assume namespace id
authorDaniel Wagner <dwagner@suse.de>
Tue, 26 Mar 2024 13:14:01 +0000 (14:14 +0100)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 29 Mar 2024 05:42:05 +0000 (14:42 +0900)
commite55c4e09e4579b0e826989346f4382b12c31ae7d
tree7061464f176e65126b79a5ae83474c7e69c7be51
parentbeab01cc3ee4be8f5d880843465eb36267cd7d24
nvme: don't assume namespace id

The tests assume that the namespace id is always 1. This might not be
correct in future (e.g. running real targets), thus harden the test by
using the uuid to lookup the correct namespace id.

The passthru test already do this, so it makes also sense to update the
other tests as well.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
19 files changed:
tests/nvme/010
tests/nvme/011
tests/nvme/012
tests/nvme/013
tests/nvme/014
tests/nvme/015
tests/nvme/018
tests/nvme/019
tests/nvme/020
tests/nvme/021
tests/nvme/023
tests/nvme/024
tests/nvme/025
tests/nvme/026
tests/nvme/029
tests/nvme/040
tests/nvme/045
tests/nvme/047
tests/nvme/rc