diff options
| author | Marc Fournier <marc.fournier@camptocamp.com> | 2010-05-11 09:12:08 +0200 |
|---|---|---|
| committer | Paul Nasrat <pnasrat@googlemail.com> | 2010-08-04 13:25:47 +0100 |
| commit | be411c00ee47e62bf0408dbb7c93c8dc6a9d9381 (patch) | |
| tree | 23094529dbe7e9af5483447a25390594e297b948 /spec/unit/data | |
| parent | 1bd2ca29d8fd7d11e75096ceeeb704fe887cad31 (diff) | |
Facter::Manufacturer - test for SunOS and FreeBSD
This test compares a fact made with dmidecode (linux and bsd) with one using
smbios (solaris).
Diffstat (limited to 'spec/unit/data')
| -rw-r--r-- | spec/unit/data/freebsd_dmidecode | 42 | ||||
| -rw-r--r-- | spec/unit/data/opensolaris_smbios | 33 |
2 files changed, 75 insertions, 0 deletions
diff --git a/spec/unit/data/freebsd_dmidecode b/spec/unit/data/freebsd_dmidecode new file mode 100644 index 0000000..d765942 --- /dev/null +++ b/spec/unit/data/freebsd_dmidecode @@ -0,0 +1,42 @@ +# dmidecode 2.10 +SMBIOS 2.5 present. +5 structures occupying 352 bytes. +Table at 0x000E1000. + +Handle 0x0000, DMI type 0, 20 bytes +BIOS Information + Vendor: innotek GmbH + Version: VirtualBox + Release Date: 12/01/2006 + Address: 0xE0000 + Runtime Size: 128 kB + ROM Size: 128 kB + Characteristics: + ISA is supported + PCI is supported + Boot from CD is supported + Selectable boot is supported + 8042 keyboard services are supported (int 9h) + CGA/mono video services are supported (int 10h) + ACPI is supported + +Handle 0x0001, DMI type 1, 27 bytes +System Information + Manufacturer: innotek GmbH + Product Name: VirtualBox + Version: 1.2 + Serial Number: 0 + UUID: 3BD58031-AE9E-4F06-8A57-941942861939 + Wake-up Type: Power Switch + SKU Number: Not Specified + Family: Virtual Machine + +Handle 0x0003, DMI type 126, 13 bytes +Inactive + +Handle 0x0002, DMI type 126, 7 bytes +Inactive + +Handle 0xFEFF, DMI type 127, 147 bytes +End Of Table + diff --git a/spec/unit/data/opensolaris_smbios b/spec/unit/data/opensolaris_smbios new file mode 100644 index 0000000..68f1004 --- /dev/null +++ b/spec/unit/data/opensolaris_smbios @@ -0,0 +1,33 @@ +ID SIZE TYPE +0 54 SMB_TYPE_BIOS (BIOS information) + + Vendor: innotek GmbH + Version String: VirtualBox + Release Date: 12/01/2006 + Address Segment: 0xe000 + ROM Size: 131072 bytes + Image Size: 131072 bytes + Characteristics: 0x48018090 + SMB_BIOSFL_ISA (ISA is supported) + SMB_BIOSFL_PCI (PCI is supported) + SMB_BIOSFL_CDBOOT (Boot from CD is supported) + SMB_BIOSFL_SELBOOT (Selectable Boot supported) + SMB_BIOSFL_I9_KBD (int 0x9 8042 keyboard svcs) + SMB_BIOSFL_I10_CGA (int 0x10 CGA svcs) + Characteristics Extension Byte 1: 0x1 + SMB_BIOSXB1_ACPI (ACPI is supported) + Characteristics Extension Byte 2: 0x0 + +ID SIZE TYPE +1 72 SMB_TYPE_SYSTEM (system information) + + Manufacturer: innotek GmbH + Product: VirtualBox + Version: 1.2 + Serial Number: 0 + + UUID: cf4bff06-0b33-4891-bda0-5ec17bea5511 + Wake-Up Event: 0x6 (power switch) + SKU Number: + Family: Virtual Machine + |
