summaryrefslogtreecommitdiffstats
path: root/spec/unit/data
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@googlemail.com>2010-01-10 17:22:30 +0000
committerPaul Nasrat <pnasrat@googlemail.com>2010-01-10 17:22:30 +0000
commit356cf15a72027773d38db5ef74e6861345e32b56 (patch)
treeee72d3b2b57451e3d17f430c129c12829a351c8b /spec/unit/data
parentfeecd393a6d6d94dcea913a3fdf7bb48d9f2e493 (diff)
downloadfacter-356cf15a72027773d38db5ef74e6861345e32b56.tar.gz
facter-356cf15a72027773d38db5ef74e6861345e32b56.tar.xz
facter-356cf15a72027773d38db5ef74e6861345e32b56.zip
Remove whitespace in DMI facts (#3008, #3011)
In addition to the stripping of the output of these facts this patchset: Refactor - Extracted function to enable easier testing. Tests - data driven tests for the dmidecode/smbios fact. Paul
Diffstat (limited to 'spec/unit/data')
-rw-r--r--spec/unit/data/linux_dmidecode_with_spaces60
1 files changed, 60 insertions, 0 deletions
diff --git a/spec/unit/data/linux_dmidecode_with_spaces b/spec/unit/data/linux_dmidecode_with_spaces
new file mode 100644
index 0000000..0d77386
--- /dev/null
+++ b/spec/unit/data/linux_dmidecode_with_spaces
@@ -0,0 +1,60 @@
+# dmidecode 2.2
+SMBIOS 2.3 present.
+32 structures occupying 994 bytes.
+Table at 0x000F0800.
+Handle 0x0000
+ DMI type 0, 20 bytes.
+ BIOS Information
+ Vendor: Award Software International, Inc.
+ Version: 6.00 PG
+ Release Date: 01/03/2003
+ Address: 0xE0000
+ Runtime Size: 128 kB
+ ROM Size: 256 kB
+ Characteristics:
+ ISA is supported
+ PCI is supported
+ PNP is supported
+ APM is supported
+ BIOS is upgradeable
+ BIOS shadowing is allowed
+ ESCD support is available
+ Boot from CD is supported
+ Selectable boot is supported
+ BIOS ROM is socketed
+ EDD is supported
+ 5.25"/360 KB floppy services are supported (int 13h)
+ 5.25"/1.2 MB floppy services are supported (int 13h)
+ 3.5"/720 KB floppy services are supported (int 13h)
+ 3.5"/2.88 MB floppy services are supported (int 13h)
+ Print screen service is supported (int 5h)
+ 8042 keyboard services are supported (int 9h)
+ Serial services are supported (int 14h)
+ Printer services are supported (int 17h)
+ CGA/mono video services are supported (int 10h)
+ ACPI is supported
+ USB legacy is supported
+ AGP is supported
+ LS-120 boot is supported
+ ATAPI Zip drive boot is supported
+Handle 0x0001
+ DMI type 1, 25 bytes.
+ System Information
+ Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
+ Product Name: MS-6754
+ Version:
+ Serial Number:
+ UUID: Not Present
+ Wake-up Type: Power Switch
+Handle 0x0002
+ DMI type 2, 8 bytes.
+ Base Board Information
+ Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
+ Product Name: MS-6754
+ Version:
+ Serial Number:
+
+Handle 0x001F
+ DMI type 127, 4 bytes.
+ End Of Table
+