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