Sha256: 8bfdbdab0638717f34e00b5b59a178f590cc00286dc4c560937b2fb21321b210
Contents?: true
Size: 350 Bytes
Versions: 22
Compression:
Stored size: 350 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'Debian' end 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
22 entries across 11 versions & 1 rubygems