Skip to content

Commit

Permalink
Fix skipping multishot read test
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Sep 9, 2024
1 parent 0474cae commit fe70e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_iou.rb
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def test_prep_read_multishot
c = ring.wait_for_completion

# make sure the OS supports this op (the liburing docs are not clear)
skip if c[:result] == Errno::EINVAL::Errno
skip if c[:result] == (-Errno::EINVAL::Errno)

assert_kind_of Hash, c
assert_equal id, c[:id]
Expand Down Expand Up @@ -768,7 +768,7 @@ def test_prep_read_multishot_utf8
c = ring.wait_for_completion

# make sure the OS supports this op (the liburing docs are not clear)
skip if c[:result] == Errno::EINVAL::Errno
skip if c[:result] == (-Errno::EINVAL::Errno)

assert_kind_of Hash, c
assert_equal id, c[:id]
Expand Down

0 comments on commit fe70e83

Please sign in to comment.