summaryrefslogtreecommitdiffstats
path: root/spec/unit/util
diff options
context:
space:
mode:
authorSean E. Millichamp <sean@bruenor.org>2008-10-22 14:24:06 -0400
committerSean E. Millichamp <sean@bruenor.org>2008-10-22 14:24:06 -0400
commitf7516a75d93b2fe97adea1b4296541be71ae5d9b (patch)
tree4746b11041b94b33933fc243a7d15979a9f9e94e /spec/unit/util
parentc09d0cc128aa3f6a0b741422ae45326b258bae7d (diff)
Fix regression caused by switch to Puppet's execute() functions
Diffstat (limited to 'spec/unit/util')
-rw-r--r--spec/unit/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/selinux.rb b/spec/unit/util/selinux.rb
index 515c3a273..7a56f914a 100644
--- a/spec/unit/util/selinux.rb
+++ b/spec/unit/util/selinux.rb
@@ -117,7 +117,7 @@ describe Puppet::Util::SELinux do
it "should use chcon to set a context" do
self.expects(:selinux_support?).returns true
- self.expects(:execute).with(["/usr/bin/chcon","-h","","user_u:role_r:type_t:s0","/foo"]).returns 0
+ self.expects(:execute).with(["/usr/bin/chcon","-h","user_u:role_r:type_t:s0","/foo"]).returns 0
set_selinux_context("/foo", "user_u:role_r:type_t:s0").should be_true
end