// fake_dmidecode simulates `dmidecode -t bios` for unit tests of the // firmware probe's BIOS parser. Prints deterministic output modeled on // a real Supermicro host; exits 0 regardless of flags. package main import "fmt" func main() { fmt.Println(`# dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 3.2.0 present. Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: American Megatrends Inc. Version: 3.2 Release Date: 07/15/2021 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 32 MB Characteristics: PCI is supported BIOS is upgradeable`) }