Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed Dec 5, 2024
1 parent 30e8cb7 commit 239ddde
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/configuration/cgroup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

cgroups = command('find /sys/fs/cgroup/redborder.slice -type d -name "redborder-*" -not -name "*.service"').stdout.split

describe file('/sys/fs/cgroup/redborder.slice') do
it { should exist }
end
describe 'Check cgroups' do
describe file('/sys/fs/cgroup/redborder.slice') do
it { should exist }
end

cgroups.each do |cgroup|
next if cgroup.include?('snortd') || cgroup.include?('barnyard2')

Expand Down

0 comments on commit 239ddde

Please sign in to comment.