~percona-toolkit-dev/percona-toolkit/fix-empty-table-bug-987393

« back to all changes in this revision

Viewing changes to t/pt-summary/parse_raid_controller_dmesg.sh

  • Committer: Daniel Nichter
  • Date: 2012-04-03 16:14:55 UTC
  • mfrom: (217.6.22 2.0.3)
  • Revision ID: daniel@percona.com-20120403161455-ntv33vju9o6njtqv
Merge summary-tools-2.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
TESTS=4
4
 
TMPDIR=$TEST_TMPDIR
5
 
 
6
 
TEST_NAME="dmesg-001.txt"
7
 
cat <<EOF > $TMPDIR/expected
8
 
Fusion-MPT SAS
9
 
EOF
10
 
parse_raid_controller_dmesg samples/dmesg-001.txt > $TMPDIR/got
11
 
no_diff $TMPDIR/got $TMPDIR/expected
12
 
 
13
 
TEST_NAME="dmesg-002.txt"
14
 
cat <<EOF > $TMPDIR/expected
15
 
AACRAID
16
 
EOF
17
 
parse_raid_controller_dmesg samples/dmesg-002.txt > $TMPDIR/got
18
 
no_diff $TMPDIR/got $TMPDIR/expected
19
 
 
20
 
TEST_NAME="dmesg-003.txt"
21
 
cat <<EOF > $TMPDIR/expected
22
 
LSI Logic MegaRAID SAS
23
 
EOF
24
 
parse_raid_controller_dmesg samples/dmesg-003.txt > $TMPDIR/got
25
 
no_diff $TMPDIR/got $TMPDIR/expected
26
 
 
27
 
TEST_NAME="dmesg-004.txt"
28
 
cat <<EOF > $TMPDIR/expected
29
 
AACRAID
30
 
EOF
31
 
parse_raid_controller_dmesg samples/dmesg-004.txt > $TMPDIR/got
32
 
no_diff $TMPDIR/got $TMPDIR/expected