Issue #3308 has been updated by Mathias Gug.

Upon more investigation this is due to the location of the test suite under 
lucid. The puppet-testsuite package installs the suite user 
/usr/share/puppet-testsuite instead of /usr/share/test as expected by the 
upstream code.
----------------------------------------
Bug #3308: Unit tests failing: NoMethodError: undefined method `fakedata' for
http://projects.puppetlabs.com/issues/3308

Author: Mathias Gug
Status: Accepted
Priority: Low
Assigned to: 
Category: testing
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


While trying to run the puppet testsuite on Ubuntu Lucid the following error 
was thrown:

  2) Error:
    test_data(TestCronParsedProvider):
    NoMethodError: undefined method `fakedata' for 
#<TestCronParsedProvider:0x7f8c7903a770>
    ./ral/providers/cron/crontab.rb:491:in `test_data'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `__send__'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `run'

There are other similar errors in the log. I've attached the complete log.

To reproduce:

 1. Install the puppet-testsuite package on Ubuntu Lucid
 2. cd /usr/share/puppet-testsuite/
 3. sudo rake


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to