Skip to content

Commit

Permalink
Update and tag specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Jul 31, 2024
1 parent d60e9e7 commit 7d00615
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/sys_proctable_bsd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,19 @@
expect(Sys::ProcTableStructs::Timeval.size).to eq(dummy.check_sizeof('struct timeval', 'sys/time.h'))
end

it 'has an rtprio struct of the expected size' do
it 'has an rtprio struct of the expected size', :dragonfly do
expect(Sys::ProcTableStructs::RTPrio.size).to eq(dummy.check_sizeof('struct rtprio', 'sys/rtprio.h'))
end

it 'has an rtprio struct of the expected size', :freebsd do
expect(Sys::ProcTableStructs::Priority.size).to eq(dummy.check_sizeof('struct priority', 'sys/priority.h'))
end

it 'has an rusage struct of the expected size' do
expect(Sys::ProcTableStructs::Rusage.size).to eq(dummy.check_sizeof('struct rusage', 'sys/resource.h'))
end

it 'has an kinfo_lwp struct of the expected size' do
it 'has an kinfo_lwp struct of the expected size', :dragonfly do
expect(Sys::ProcTableStructs::KInfoLWP.size).to eq(dummy.check_sizeof('struct kinfo_lwp', 'sys/kinfo.h'))
end

Expand Down

0 comments on commit 7d00615

Please sign in to comment.