pt-summary problem parsing output from dmidecode version 2.12 - 1368379

This commit is contained in:
Frank Cizmich
2014-09-17 18:25:04 -03:00
parent f0a0a8f737
commit 5e7cedfbc4
4 changed files with 933 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
plan 53
plan 54
. "$LIB_DIR/alt_cmds.sh"
. "$LIB_DIR/log_warn_die.sh"
@@ -1040,6 +1040,16 @@ EOF
parse_dmidecode_mem_devices "$samples/dmidecode-005.txt" > "$PT_TMPDIR/got"
no_diff "$PT_TMPDIR/got" "$PT_TMPDIR/expected" "dmidecode-005.txt"
cat <<EOF > "$PT_TMPDIR/expected"
Locator Size Speed Form Factor Type Type Detail
========= ======== ================= ============= ============= ===========
DIMM 1 8192 MB 1600 MHz SODIMM DDR3 Synchronous
DIMM 2 8192 MB 1600 MHz SODIMM DDR3 Synchronous
EOF
parse_dmidecode_mem_devices "$samples/dmidecode-006.txt" > "$PT_TMPDIR/got"
no_diff "$PT_TMPDIR/got" "$PT_TMPDIR/expected" "dmidecode-006.txt"
# parse_arcconf
cat <<EOF > "$PT_TMPDIR/expected"