[Pkg-puppet-devel] [facter] 29/352: removed duplicate tests for Solaris
Stig Sandbeck Mathisen
ssm at debian.org
Sun Apr 6 22:21:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository facter.
commit 54ba32e1cb59741b34badc7c80b688f67b3af50c
Author: Konstantin Orekhov <korekhov at ebay.com>
Date: Fri May 10 16:36:51 2013 -0700
removed duplicate tests for Solaris
---
spec/unit/processor_spec.rb | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/spec/unit/processor_spec.rb b/spec/unit/processor_spec.rb
index 6d434ea..80fb70c 100755
--- a/spec/unit/processor_spec.rb
+++ b/spec/unit/processor_spec.rb
@@ -65,26 +65,6 @@ describe "Processor facts" do
end
end
- describe "on Solaris" do
- before :each do
- Facter.collection.internal_loader.load(:processor)
- Facter.fact(:kernel).stubs(:value).returns(:sunos)
- Facter.stubs(:value).with(:kernelrelease).returns("5.10")
- end
-
- it "should detect the correct processor count on x86_64" do
- fixture_data = File.read(fixtures('processorcount','solaris-psrinfo'))
- Facter::Util::Resolution.expects(:exec).with("/usr/sbin/psrinfo").returns(fixture_data)
- Facter.fact(:processorcount).value.should == 24
- end
-
- it "should detect the correct processor count on sparc" do
- fixture_data = File.read(fixtures('processorcount','solaris-psrinfo'))
- Facter::Util::Resolution.expects(:exec).with("/usr/sbin/psrinfo").returns(fixture_data)
- Facter.fact(:processorcount).value.should == 24
- end
- end
-
describe "on Unixes" do
include FacterSpec::Cpuinfo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git
More information about the Pkg-puppet-devel
mailing list