Sha256: a662dc8073bdb9b125d7de675d41e07f8c18d61054cca9c88492b4624c46bc61
Contents?: true
Size: 339 Bytes
Versions: 42
Compression:
Stored size: 339 Bytes
Contents
require 'spec_helper' include SpecInfra::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
42 entries across 42 versions & 1 rubygems