From 1ccc5863917230326f9115acf13ab3d70ff3cf3a Mon Sep 17 00:00:00 2001 From: Daniel Berger <78529+djberg96@users.noreply.github.com> Date: Wed, 31 Jul 2024 04:58:48 -0400 Subject: [PATCH] Bail on a couple specs for now until we can figure out what the proper header file is. --- spec/sys_proctable_bsd_spec.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spec/sys_proctable_bsd_spec.rb b/spec/sys_proctable_bsd_spec.rb index 9ffd1f5..34e583c 100644 --- a/spec/sys_proctable_bsd_spec.rb +++ b/spec/sys_proctable_bsd_spec.rb @@ -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')) @@ -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