Issue #6612 has been updated by Daniel Pittman.

Can you post the output of that sysctl call, please?  It would be great to be 
able to simulate this on other platforms to verify the long term correctness of 
our code.
----------------------------------------
Bug #6612: RSpec test failure on SPARC - bignum too big to convert into `long'
https://projects.puppetlabs.com/issues/6612

Author: James Turnbull
Status: Unreviewed
Priority: Normal
Assignee: 
Category: testing
Target version: 1.5.9
Keywords: solaris rspec bignum
Branch: 


On SPARC:

<pre>
  1) Facter::Util::Uptime.get_uptime_seconds_unix when /proc/uptime is not 
available should use 'sysctl kern.boottime'
     Failure/Error: Facter::Util::Uptime.get_uptime_seconds_unix.should == 60 * 
60
     RangeError:
       bignum too big to convert into `long'
     # ./spec/../lib/facter/util/uptime.rb:29:in `at'
     # ./spec/../lib/facter/util/uptime.rb:29:in `uptime_sysctl'
     # ./spec/../lib/facter/util/uptime.rb:7:in `get_uptime_seconds_unix'
     # ./spec/unit/util/uptime_spec.rb:33
</pre>

ruby 1.8.7 (2008-06-20 patchlevel 22) [sparc-solaris2.8]
SunOS unknown 5.10 Generic_142909-17 sun4u sparc SUNW,UltraAX-i2


-- 
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