FusionInventory-Agent

 view release on metacpan or  search on metacpan

t/agent/tools/generic.t  view on Meta::CPAN

    ],
    'windows-7' => [
        {
            ID             => 'A7 06 02 00 FF FB EB BF',
            NAME           => 'Core 2 Duo',
            EXTERNAL_CLOCK => '100',
            SPEED          => '2800',
            THREAD         => undef,
            SERIAL         => undef,
            STEPPING       => '7',
            FAMILYNUMBER   => '6',
            MODEL          => '42',
            MANUFACTURER   => 'Intel',
            FAMILYNAME     => 'Core 2 Duo',
            CORE           => '1',
            CORECOUNT      => '4'
        }
    ],
    'windows-7.2' => [
        {
            ID             => '62 0F 10 00 FF FB 8B 17',
            NAME           => 'AMD Athlon(tm) II X2 245 Processor',
            EXTERNAL_CLOCK => '200',
            SPEED          => '2900',
            THREAD         => undef,
            SERIAL         => undef,
            STEPPING       => '2',
            FAMILYNUMBER   => '15',
            MODEL          => '6',
            MANUFACTURER   => 'AMD',
            FAMILYNAME     => 'Athlon II',
            CORE           => '2'
        }
    ],
    'lenovo-thinkpad' => [
        {
            CORE            => '2',
            EXTERNAL_CLOCK  => '100',
            FAMILYNAME      => 'Core i5',
            FAMILYNUMBER    => '6',
            ID              => 'A7 06 02 00 FF FB EB BF',
            MANUFACTURER    => 'Intel(R) Corporation',
            MODEL           => '42',
            NAME            => 'Core i5',
            SERIAL          => 'Not Supported by CPU',
            SPEED           => '2500',
            STEPPING        => '7',
            THREAD          => '4'
        }
    ]
);

my %lspci_tests = (
    'dell-xt2' => [
        {
            PCICLASS       => '0600',
            NAME           => 'Host bridge',
            MANUFACTURER   => 'Intel Corporation Mobile 4 Series Chipset Memory Controller Hub',
            REV            => '07',
            PCIID          => '8086:2a40',
            DRIVER         => 'agpgart',
            PCISLOT        => '00:00.0',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0300',
            NAME           => 'VGA compatible controller',
            MANUFACTURER   => 'Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller',
            REV            => '07',
            PCIID          => '8086:2a42',
            DRIVER         => 'i915',
            PCISLOT        => '00:02.0',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0380',
            NAME           => 'Display controller',
            MANUFACTURER   => 'Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller',
            REV            => '07',
            PCIID          => '8086:2a43',
            PCISLOT        => '00:02.1',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0200',
            NAME           => 'Ethernet controller',
            MANUFACTURER   => 'Intel Corporation 82567LM Gigabit Network Connection',
            REV            => '03',
            PCIID          => '8086:10f5',
            DRIVER         => 'e1000e',
            PCISLOT        => '00:19.0',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0c03',
            NAME           => 'USB controller',
            MANUFACTURER   => 'Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4',
            REV            => '03',
            PCIID          => '8086:2937',
            DRIVER         => 'uhci_hcd',
            PCISLOT        => '00:1a.0',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0c03',
            NAME           => 'USB controller',
            MANUFACTURER   => 'Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5',
            REV            => '03',
            PCIID          => '8086:2938',
            DRIVER         => 'uhci_hcd',
            PCISLOT        => '00:1a.1',
            PCISUBSYSTEMID => '1028:0252',
        },
        {
            PCICLASS       => '0c03',
            NAME           => 'USB controller',
            MANUFACTURER   => 'Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6',
            REV            => '03',
            PCIID          => '8086:2939',
            DRIVER         => 'uhci_hcd',
            PCISLOT        => '00:1a.2',



( run in 0.467 second using v1.01-cache-2.11-cpan-df04353d9ac )