Skip to content

Commit

Permalink
nvme/049: update fio_output msg check for io_uring_cmd support
Browse files Browse the repository at this point in the history
Update the error info check string:
check: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=io_uring_cmd, iodepth=1
fio-3.38-16-g6f3de
Starting 1 process
fio: pid=9638, err=1/file:engines/io_uring.c:1272, func=io_queue_init, error=Operation not permitted

Run status group 0 (all jobs):

Signed-off-by: Yi Zhang <[email protected]>
  • Loading branch information
yizhanglinux committed Dec 9, 2024
1 parent dadbcb0 commit ef8cd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nvme/049
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test_device() {
# check security permission
if ! fio_output=$(fio --name=check --size=4k --filename="$ngdev" \
--rw=read --ioengine=io_uring_cmd 2>&1) &&
grep -qe "Permission denied" <<< "$fio_output"; then
grep -qe "Operation not permitted" <<< "$fio_output"; then
SKIP_REASONS+=("IORING_OP_URING_CMD is not allowed for $ngdev")
return
fi
Expand Down

0 comments on commit ef8cd4c

Please sign in to comment.