[Pkg-puppet-devel] [facter] 166/180: (maint) Confine ENV['HOME'] tests to non-root

Stig Sandbeck Mathisen ssm at debian.org
Mon Jun 30 15:06:44 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 8a06a9a880d835f9387e6677e7458a59af0ca262
Author: Adrien Thebo <git at somethingsinistral.net>
Date:   Fri Jun 20 15:32:38 2014 -0700

    (maint) Confine ENV['HOME'] tests to non-root
---
 spec/unit/util/config_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/unit/util/config_spec.rb b/spec/unit/util/config_spec.rb
index 529f001..6b9cb6d 100644
--- a/spec/unit/util/config_spec.rb
+++ b/spec/unit/util/config_spec.rb
@@ -5,7 +5,7 @@ require 'spec_helper'
 describe Facter::Util::Config do
   include PuppetlabsSpec::Files
 
-  describe "ENV['HOME'] is unset" do
+  describe "ENV['HOME'] is unset", :unless => Facter::Util::Root.root? do
     around do |example|
       Facter::Core::Execution.with_env('HOME' => nil) do
         example.run

-- 
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