serverspec 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
data/lib/serverspec/version.rb
CHANGED
@@ -120,7 +120,7 @@ end
|
|
120
120
|
|
121
121
|
describe 'have_uid', :os => :debian do
|
122
122
|
subject { commands.check_uid('root', 0) }
|
123
|
-
it { should eq "id root | grep uid=0(" }
|
123
|
+
it { should eq "id root | grep '^uid=0('" }
|
124
124
|
end
|
125
125
|
|
126
126
|
describe 'have_login_shell', :os => :debian do
|
@@ -119,7 +119,7 @@ end
|
|
119
119
|
|
120
120
|
describe 'have_uid', :os => :gentoo do
|
121
121
|
subject { commands.check_uid('root', 0) }
|
122
|
-
it { should eq "id root | grep uid=0(" }
|
122
|
+
it { should eq "id root | grep '^uid=0('" }
|
123
123
|
end
|
124
124
|
|
125
125
|
describe 'have_login_shell', :os => :gentoo do
|
@@ -119,7 +119,7 @@ end
|
|
119
119
|
|
120
120
|
describe 'have_uid', :os => :redhat do
|
121
121
|
subject { commands.check_uid('root', 0) }
|
122
|
-
it { should eq "id root | grep uid=0(" }
|
122
|
+
it { should eq "id root | grep '^uid=0('" }
|
123
123
|
end
|
124
124
|
|
125
125
|
describe 'have_login_shell', :os => :redhat do
|
@@ -119,7 +119,7 @@ end
|
|
119
119
|
|
120
120
|
describe 'have_uid', :os => :solaris do
|
121
121
|
subject { commands.check_uid('root', 0) }
|
122
|
-
it { should eq "id root | grep uid=0(" }
|
122
|
+
it { should eq "id root | grep '^uid=0('" }
|
123
123
|
end
|
124
124
|
|
125
125
|
describe 'have_login_shell', :os => :solaris do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 18
|
10
|
+
version: 0.2.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gosuke Miyashita
|