~ubuntu-branches/ubuntu/trusty/puppet/trusty

« back to all changes in this revision

Viewing changes to spec/unit/other/selinux_spec.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-10-22 14:08:22 UTC
  • mfrom: (1.1.25) (3.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20111022140822-odxde5lohc45yhuz
Tags: 2.7.6-1
* New upstream release (CVE-2011-3872)
* Remove cherry-picked "groupadd_aix_warning" patch
* Install all new manpages

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
require 'puppet/type/selmodule'
6
6
 
7
7
describe Puppet::Type.type(:file), " when manipulating file contexts" do
 
8
  include PuppetSpec::Files
 
9
 
8
10
  before :each do
9
11
 
10
12
          @file = Puppet::Type::File.new(
11
13
                
12
 
      :name => "/tmp/foo",
 
14
      :name => make_absolute("/tmp/foo"),
13
15
      :ensure => "file",
14
16
      :seluser => "user_u",
15
17
      :selrole => "role_r",