[Pkg-puppet-devel] [facter] 25/352: (#18215) Updated processor_spec.rb for Solaris changes
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 fd7203ee0d6e68592555fe83b5def7b4f878f890
Author: Konstantin Orekhov <korekhov at ebay.com>
Date: Mon May 6 18:28:47 2013 -0700
(#18215) Updated processor_spec.rb for Solaris changes
Updated processor_spec.rb for Solaris changes to support fixes for
issue #18215.
---
spec/unit/processor_spec.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec/unit/processor_spec.rb b/spec/unit/processor_spec.rb
index 003d68c..8fb3352 100755
--- a/spec/unit/processor_spec.rb
+++ b/spec/unit/processor_spec.rb
@@ -275,7 +275,7 @@ describe "Processor facts" do
let(:kstat_sparc) { @fixture_kstat_sparc }
let(:kstat_x86_64) { @fixture_kstat_x86_64 }
- %w{ 5.8 5.9 5.10 5.11 }.each do |release|
+ %w{ 5.5.1 5.6 5.7 }.each do |release|
%w{ sparc x86_64 }.each do |arch|
it "uses kstat on release #{release} (#{arch})" do
Facter.fact(:kernel).stubs(:value).returns(:sunos)
@@ -287,7 +287,7 @@ describe "Processor facts" do
end
end
- %w{ 5.5.1 5.6 5.7 }.each do |release|
+ %w{ 5.8 5.9 5.10 5.11 }.each do |release|
it "uses psrinfo on release #{release}" do
Facter.fact(:kernel).stubs(:value).returns(:sunos)
Facter.stubs(:value).with(:kernelrelease).returns(release)
--
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