summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-01 00:56:49 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-01 00:56:49 +0000
commitf1deaa8cc69a4d6255840cd2480be633635c2b86 (patch)
tree95f60f0237dffdd5d09cdca5750732de4b6f9e7a /test
parent173f5cc03640a119e77a39047cd7f4f6f0fa1a4e (diff)
downloadpuppet-f1deaa8cc69a4d6255840cd2480be633635c2b86.tar.gz
puppet-f1deaa8cc69a4d6255840cd2480be633635c2b86.tar.xz
puppet-f1deaa8cc69a4d6255840cd2480be633635c2b86.zip
Fixing autogen so it passes on non-Darwin systems.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2140 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rwxr-xr-xtest/providers/user.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/providers/user.rb b/test/providers/user.rb
index ab3c09ce0..67a5796c1 100755
--- a/test/providers/user.rb
+++ b/test/providers/user.rb
@@ -529,9 +529,10 @@ class TestUserProvider < Test::Unit::TestCase
# Everyone should be able to autogenerate a uid
assert_instance_of(Fixnum, provider.autogen(:uid))
- # If we're Darwin, then we should get results, but everyone else should get nil
+ # If we're Darwin, then we should get results, but everyone else should
+ # get nil
darwin = (Facter.value(:operatingsystem) == "Darwin")
-
+
should = {
:comment => user[:name].capitalize,
:home => "/var/empty",