Combine and update all pt-summary tests to new format.

This commit is contained in:
Daniel Nichter
2011-08-19 10:46:55 -06:00
parent d50c1699cd
commit 94e6b7a5e8
49 changed files with 1163 additions and 1162 deletions

View File

@@ -0,0 +1,38 @@
#!/bin/bash
TEST=5
TEST_NAME="lspci-001.txt"
<<EOF > $TMPDIR/expected
Fusion-MPT SAS
EOF
parse_raid_controller_lspci samples/lspci-001.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected
TEST_NAME="lspci-002.txt"
<<EOF > $TMPDIR/expected
LSI Logic Unknown
EOF
parse_raid_controller_lspci samples/lspci-002.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected
TEST_NAME="lspci-003.txt"
<<EOF > $TMPDIR/expected
AACRAID
EOF
parse_raid_controller_lspci samples/lspci-003.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected
TEST_NAME="lspci-004.txt"
<<EOF > $TMPDIR/expected
LSI Logic MegaRAID SAS
EOF
parse_raid_controller_lspci samples/lspci-004.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected
TEST_NAME="lspci-006.txt"
<<EOF > $TMPDIR/expected
HP Smart Array
EOF
parse_raid_controller_lspci samples/lspci-006.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected