Skip to content

Commit

Permalink
Merge pull request #152 from yizhanglinux/nvme-049-update
Browse files Browse the repository at this point in the history
nvme/049: update fio_output msg check for io_uring_cmd support
  • Loading branch information
kawasaki authored Dec 18, 2024
2 parents 9dffc45 + 1257464 commit 54d0175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/nvme/049
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ 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 -q -e "Operation not permitted" \
-e "Permission denied" <<< "$fio_output"; then
SKIP_REASONS+=("IORING_OP_URING_CMD is not allowed for $ngdev")
return
fi
Expand Down

0 comments on commit 54d0175

Please sign in to comment.