Sha256: 7535c967e934de4f0cd689158031519e7a6755ad6aa20cad527a4f5041735a67
Contents?: true
Size: 340 Bytes
Versions: 4
Compression:
Stored size: 340 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Gentoo describe cgroup('group1') do let(:stdout) { "1\r\n" } its('cpuset.cpus') { should eq 1 } its(:command) { should eq "cgget -n -r cpuset.cpus group1 | awk '{print $2}'" } end describe cgroup('group1') do let(:stdout) { "1\r\n" } its('cpuset.cpus') { should_not eq 0 } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.11.5 | spec/gentoo/cgroup_spec.rb |
serverspec-0.11.4 | spec/gentoo/cgroup_spec.rb |
serverspec-0.11.3 | spec/gentoo/cgroup_spec.rb |
serverspec-0.11.2 | spec/gentoo/cgroup_spec.rb |