Yi Zhang reported that the reference to TMPDIR in nvme/rc causes an issue because the reference happens out of test() or test_device() context [1][2]. The first patch addresses this issue. The second patch fixes another TMPDIR bug found during this work. [1] https://lore.kernel.org/linux-block/20231011034832.1650797-1-yi.zhang@xxxxxxxxxx/ [2] https://lore.kernel.org/linux-block/20231011072530.1659810-1-yi.zhang@xxxxxxxxxx/ Shin'ichiro Kawasaki (2): nvme/{rc,017,031}: replace def_file_path with _nvme_def_file_path() block/002: fix TMPDIR path tests/block/002 | 2 +- tests/nvme/017 | 9 +++++---- tests/nvme/031 | 6 +++--- tests/nvme/rc | 17 +++++++++++------ 4 files changed, 20 insertions(+), 14 deletions(-) -- 2.41.0