diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-21 20:45:14 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-21 20:45:14 +0000 |
commit | 5ad9bf49296d35bcaf527476fa6b700c23e13ee5 (patch) | |
tree | 027452d28fcb938693c0e9bbb3d1ce1e2b7bf1a3 /test/ral/providers/user/useradd.rb | |
parent | 804c0f406442dcb2546495f026a9f66d5d507432 (diff) | |
download | puppet-5ad9bf49296d35bcaf527476fa6b700c23e13ee5.tar.gz puppet-5ad9bf49296d35bcaf527476fa6b700c23e13ee5.tar.xz puppet-5ad9bf49296d35bcaf527476fa6b700c23e13ee5.zip |
Fixing #553; -M is no longer added when home directories are managed
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2341 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/ral/providers/user/useradd.rb')
-rwxr-xr-x | test/ral/providers/user/useradd.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ral/providers/user/useradd.rb b/test/ral/providers/user/useradd.rb index 48a110446..e3f2183ac 100755 --- a/test/ral/providers/user/useradd.rb +++ b/test/ral/providers/user/useradd.rb @@ -102,6 +102,8 @@ class UserAddProviderTest < PuppetTest::TestCase "useradd was not called") assert(params.include?("-m"), "Did not add -m when managehome was in affect") + assert(! params.include?("-M"), + "Added -M when managehome was in affect") true end @@ -123,8 +125,8 @@ class UserAddProviderTest < PuppetTest::TestCase assert(params.include?("-M"), "Did not add -M on Red Hat") end - assert(! params.include?("-m"), - "Added -m when managehome was disabled") + assert(! params.include?("-m"), + "Added -m when managehome was disabled") true end |