mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
pt-summary problem parsing output from dmidecode version 2.12 - 1368379
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user