summaryrefslogtreecommitdiff
path: root/test/dmidecode-dumps
Commit message (Collapse)AuthorAgeFilesLines
* memory-id: Work-around incorrect "Number of slots"Bastien Nocera2022-03-073-4/+3
| | | | | | | | | | | | | | In some BIOSes, the "Number of slots or sockets available for Memory Devices in this array" is incorrectly set to the number of memory array that's populated. Work-around this problem by outputting the number of sockets after having parsed them so that consumers of this data can carry on expecting an accurate number in this property. This fixes the number of memory slots advertised for the HP Z600. See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1686
* gitattributes: introduce and use "generated" attributeZbigniew Jędrzejewski-Szmek2021-10-181-1/+1
| | | | | | | | | | | | | | I want to mark some files to be ignored for licensing purposes, e.g. output from fuzzers and other samples. By using the gitattribute machinery for this we don't need to design a custom protocol: $ git check-attr generated test/test-sysusers/unhappy-* test/test-sysusers/unhappy-1.expected-err: generated: set test/test-sysusers/unhappy-1.input: generated: unspecified test/test-sysusers/unhappy-2.expected-err: generated: set test/test-sysusers/unhappy-2.input: generated: unspecified test/test-sysusers/unhappy-3.expected-err: generated: set test/test-sysusers/unhappy-3.input: generated: unspecified
* gitattributes: mark more files as "binary"Zbigniew Jędrzejewski-Szmek2021-10-181-0/+1
| | | | This way we know that we shouldn't look for a spdx header in them.
* test: add one more dmidecode dumpZbigniew Jędrzejewski-Szmek2020-12-172-0/+94
|
* meson: make each dmidecode a separate testZbigniew Jędrzejewski-Szmek2020-12-174-0/+0
| | | | | | | | This allows them to be executed in parallel and also gives us better reporting. The dump files are renamed to avoid repeating "dmidecode-dump", since that string is already present in the subdirectory name.
* udev: Extract RAM properties from DMI informationBastien Nocera2020-12-164-0/+100
Add memory_id program to set properties about the physical memory devices in the system. This is useful on machines with removable memory modules to show how the machine can be upgraded, and on all devices to detect the actual RAM size, without relying on the OS accessible amount. Closes: #16651