Skip Menu |

This queue is for tickets about the Test-Smoke CPAN distribution.

Report information
The Basics
Id: 72289
Status: resolved
Priority: 0/
Queue: Test-Smoke

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.44
Fixed in: 1.46



Subject: Darwin npcu case-problem
Hi On Darwin 10.8 (intel, Snow Leopard) I get this $ /usr/sbin/system_profiler -detailLevel mini SPHardwareDataType Hardware: Hardware Overview: Model Name: MacBook Air Model Identifier: MacBookAir3,2 Processor Name: Intel Core 2 Duo Processor Speed: 1,86 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache: 6 MB Memory: 2 GB Bus Speed: 1,07 GHz Boot ROM Version: MBA31.0061.B01 SMC Version (system): 1.66f55 I suppose "of" was always lowercase. ncpu fails. Patch attached -- Reini Urban
Subject: sysinfo-darwin.diff
diff -bu ./lib/Test/Smoke/SysInfo.pm~ ./lib/Test/Smoke/SysInfo.pm --- ./lib/Test/Smoke/SysInfo.pm~ 2010-11-01 13:12:32.000000000 -0500 +++ ./lib/Test/Smoke/SysInfo.pm 2011-11-08 17:22:30.000000000 -0600 @@ -410,7 +410,7 @@ 'Processor Speed' => 'CPU Speed', 'Model Name' => 'Machine Name', 'Model Identifier' => 'Machine Model', - 'Number Of Processors' => 'Number Of CPUs', + 'Number of Processors' => 'Number Of CPUs', ); for my $newkey ( keys %keymap ) { my $oldkey = $keymap{ $newkey };
This was part of 1.45 (that never made it to CPAN): [ 1297] By: abeltje on 2011-11-15 11:39:47 +0100 Log: * [CHANGE] various patches + fix calling tie() on file-handle (Father Chrysostomos) + fix Number of CPU's on Lion (Reini Urban) + fix syncer_rsync.t, use abs_path() to resolve symlinks Thanks for input! Good luck, -- Abe.