Skip to content

Commit

Permalink
Bail on a couple specs for now until we can figure out what the prope…
Browse files Browse the repository at this point in the history
…r header file is.
  • Loading branch information
djberg96 committed Jul 31, 2024
1 parent 7d00615 commit 1ccc586
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions spec/sys_proctable_bsd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,10 @@
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
# TODO: Figure out which header is the right one for FreeBSD
#it 'has a priority 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'))
Expand All @@ -241,7 +242,8 @@
expect(Sys::ProcTableStructs::KInfoLWP.size).to eq(dummy.check_sizeof('struct kinfo_lwp', 'sys/kinfo.h'))
end

it 'has an kinfo_proc struct of the expected size' do
# TODO: Figure out which header is the right one for FreeBSD
it 'has an kinfo_proc struct of the expected size', :dragonfly do
expect(Sys::ProcTableStructs::KInfoProc.size).to eq(dummy.check_sizeof('struct kinfo_proc', 'sys/kinfo.h'))
end
end
Expand Down

0 comments on commit 1ccc586

Please sign in to comment.