From: Shin'ichiro Kawasaki Date: Fri, 29 Jul 2022 00:15:05 +0000 (+0900) Subject: nvme/040: fix device file path X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8dfcaaf69cc1e3b3b3a7eff6d2dd8762a16d7faf;p=users%2Fhch%2Fblktests.git nvme/040: fix device file path The test case nvme/040 performs I/O to a nvmf device file. However, it specifies wrong path to the device file then the I/O is done to a regular file. Hence fix the path. Fixes: ebf197d1aea4 ("nvme: add nvmf reset/disconnect during traffic test") Signed-off-by: Shin'ichiro Kawasaki Reviewed-by: Chaitanya Kulkarni --- diff --git a/tests/nvme/040 b/tests/nvme/040 index 10c1815..04bd726 100755 --- a/tests/nvme/040 +++ b/tests/nvme/040 @@ -37,7 +37,7 @@ test() { # start fio job echo "starting background fio" - _run_fio_rand_io --filename="${nvmedev}n1" --size=1g \ + _run_fio_rand_io --filename="/dev/${nvmedev}n1" --size=1g \ --group_reporting --ramp_time=5 &> /dev/null & sleep 5