[pve-devel] [PATCH storage 0/7] add disklist and smart regression test

Dominik Csapak d.csapak at proxmox.com
Mon Oct 17 10:31:20 CEST 2016


this patch series adds regression tests
for the disklist and smart parsing

this needs my previous patch series to work

Dominik Csapak (7):
  add disklist test
  add hdd and smart regression tests
  add ssd and smart regression tests
  add nvme regression test
  add sas regression tests
  add cciss regression test
  add disk usages regression test

 test/Makefile                                      |   5 +-
 test/disk_tests/cciss/cciss!c0d0/device/model      |   1 +
 test/disk_tests/cciss/cciss!c0d0/device/vendor     |   1 +
 test/disk_tests/cciss/cciss!c0d0/queue/rotational  |   1 +
 test/disk_tests/cciss/cciss!c0d0/size              |   1 +
 test/disk_tests/cciss/cciss!c0d0_udevadm           |  32 +++
 test/disk_tests/cciss/disklist                     |   1 +
 test/disk_tests/cciss/disklist_expected.json       |  17 ++
 test/disk_tests/hdd_smart/disklist                 |   2 +
 test/disk_tests/hdd_smart/disklist_expected.json   |  32 +++
 test/disk_tests/hdd_smart/sda/device/vendor        |   1 +
 test/disk_tests/hdd_smart/sda/queue/rotational     |   1 +
 test/disk_tests/hdd_smart/sda/size                 |   1 +
 test/disk_tests/hdd_smart/sda_health               |   5 +
 test/disk_tests/hdd_smart/sda_smart                |  40 ++++
 test/disk_tests/hdd_smart/sda_smart_expected.json  | 246 ++++++++++++++++++++
 test/disk_tests/hdd_smart/sda_udevadm              |  11 +
 test/disk_tests/hdd_smart/sdb/device/vendor        |   1 +
 test/disk_tests/hdd_smart/sdb/queue/rotational     |   1 +
 test/disk_tests/hdd_smart/sdb/size                 |   1 +
 test/disk_tests/hdd_smart/sdb_health               |   5 +
 test/disk_tests/hdd_smart/sdb_smart                |  36 +++
 test/disk_tests/hdd_smart/sdb_smart_expected.json  | 216 +++++++++++++++++
 test/disk_tests/hdd_smart/sdb_udevadm              |  11 +
 test/disk_tests/nvme_smart/disklist                |   1 +
 test/disk_tests/nvme_smart/disklist_expected.json  |  17 ++
 test/disk_tests/nvme_smart/nvme0_smart             |  22 ++
 test/disk_tests/nvme_smart/nvme0n1/device/model    |   1 +
 .../disk_tests/nvme_smart/nvme0n1/queue/rotational |   1 +
 test/disk_tests/nvme_smart/nvme0n1/size            |   1 +
 .../nvme_smart/nvme0n1_smart_expected.json         |   5 +
 test/disk_tests/nvme_smart/nvme0n1_udevadm         |  18 ++
 test/disk_tests/sas/disklist                       |   1 +
 test/disk_tests/sas/disklist_expected.json         |  17 ++
 test/disk_tests/sas/sda/device/model               |   1 +
 test/disk_tests/sas/sda/device/vendor              |   1 +
 test/disk_tests/sas/sda/queue/rotational           |   1 +
 test/disk_tests/sas/sda/size                       |   1 +
 test/disk_tests/sas/sda_smart                      |  20 ++
 test/disk_tests/sas/sda_smart_expected.json        |   5 +
 test/disk_tests/sas/sda_udevadm                    |  31 +++
 test/disk_tests/ssd_smart/disklist                 |   5 +
 test/disk_tests/ssd_smart/disklist_expected.json   |  77 +++++++
 test/disk_tests/ssd_smart/sda/device/vendor        |   1 +
 test/disk_tests/ssd_smart/sda/queue/rotational     |   1 +
 test/disk_tests/ssd_smart/sda/size                 |   1 +
 test/disk_tests/ssd_smart/sda_smart                |  39 ++++
 test/disk_tests/ssd_smart/sda_smart_expected.json  | 236 +++++++++++++++++++
 test/disk_tests/ssd_smart/sda_udevadm              |  11 +
 test/disk_tests/ssd_smart/sdb/device/vendor        |   1 +
 test/disk_tests/ssd_smart/sdb/queue/rotational     |   1 +
 test/disk_tests/ssd_smart/sdb/size                 |   1 +
 test/disk_tests/ssd_smart/sdb_smart                |  41 ++++
 test/disk_tests/ssd_smart/sdb_smart_expected.json  | 256 +++++++++++++++++++++
 test/disk_tests/ssd_smart/sdb_udevadm              |  12 +
 test/disk_tests/ssd_smart/sdc/device/vendor        |   1 +
 test/disk_tests/ssd_smart/sdc/queue/rotational     |   1 +
 test/disk_tests/ssd_smart/sdc/size                 |   1 +
 test/disk_tests/ssd_smart/sdc_smart                |  16 ++
 test/disk_tests/ssd_smart/sdc_smart_expected.json  |  16 ++
 test/disk_tests/ssd_smart/sdc_udevadm              |  11 +
 test/disk_tests/ssd_smart/sdd/device/vendor        |   1 +
 test/disk_tests/ssd_smart/sdd/queue/rotational     |   1 +
 test/disk_tests/ssd_smart/sdd/size                 |   1 +
 test/disk_tests/ssd_smart/sdd_smart                |  40 ++++
 test/disk_tests/ssd_smart/sdd_smart_expected.json  |  16 ++
 test/disk_tests/ssd_smart/sdd_udevadm              |  11 +
 test/disk_tests/ssd_smart/sde/device/vendor        |   1 +
 test/disk_tests/ssd_smart/sde/queue/rotational     |   1 +
 test/disk_tests/ssd_smart/sde/size                 |   1 +
 test/disk_tests/ssd_smart/sde_smart                |  19 ++
 test/disk_tests/ssd_smart/sde_smart_expected.json  |  46 ++++
 test/disk_tests/ssd_smart/sde_udevadm              |  11 +
 test/disk_tests/usages/disklist                    |   6 +
 test/disk_tests/usages/disklist_expected.json      |  97 ++++++++
 test/disk_tests/usages/mounts                      |   2 +
 test/disk_tests/usages/partlist                    |   2 +
 test/disk_tests/usages/pvs                         |   1 +
 test/disk_tests/usages/sda/device/vendor           |   1 +
 test/disk_tests/usages/sda/queue/rotational        |   1 +
 test/disk_tests/usages/sda/size                    |   1 +
 test/disk_tests/usages/sda_udevadm                 |  12 +
 test/disk_tests/usages/sdb/device/vendor           |   1 +
 test/disk_tests/usages/sdb/queue/rotational        |   1 +
 test/disk_tests/usages/sdb/size                    |   1 +
 test/disk_tests/usages/sdb_udevadm                 |  12 +
 test/disk_tests/usages/sdc/device/vendor           |   1 +
 test/disk_tests/usages/sdc/queue/rotational        |   1 +
 test/disk_tests/usages/sdc/size                    |   1 +
 test/disk_tests/usages/sdc_udevadm                 |  12 +
 test/disk_tests/usages/sdd/device/vendor           |   1 +
 test/disk_tests/usages/sdd/queue/rotational        |   1 +
 test/disk_tests/usages/sdd/size                    |   1 +
 test/disk_tests/usages/sdd_udevadm                 |  12 +
 test/disk_tests/usages/sde/device/vendor           |   1 +
 test/disk_tests/usages/sde/queue/rotational        |   1 +
 test/disk_tests/usages/sde/size                    |   1 +
 test/disk_tests/usages/sde_udevadm                 |  12 +
 test/disk_tests/usages/sdf/device/vendor           |   1 +
 test/disk_tests/usages/sdf/queue/rotational        |   1 +
 test/disk_tests/usages/sdf/size                    |   1 +
 test/disk_tests/usages/sdf_udevadm                 |  12 +
 test/disk_tests/usages/zpool                       |   6 +
 test/disklist_test.pm                              | 216 +++++++++++++++++
 test/run_disk_tests.pl                             |  10 +
 105 files changed, 2120 insertions(+), 1 deletion(-)
 create mode 100644 test/disk_tests/cciss/cciss!c0d0/device/model
 create mode 100644 test/disk_tests/cciss/cciss!c0d0/device/vendor
 create mode 100644 test/disk_tests/cciss/cciss!c0d0/queue/rotational
 create mode 100644 test/disk_tests/cciss/cciss!c0d0/size
 create mode 100644 test/disk_tests/cciss/cciss!c0d0_udevadm
 create mode 100644 test/disk_tests/cciss/disklist
 create mode 100644 test/disk_tests/cciss/disklist_expected.json
 create mode 100644 test/disk_tests/hdd_smart/disklist
 create mode 100644 test/disk_tests/hdd_smart/disklist_expected.json
 create mode 100644 test/disk_tests/hdd_smart/sda/device/vendor
 create mode 100644 test/disk_tests/hdd_smart/sda/queue/rotational
 create mode 100644 test/disk_tests/hdd_smart/sda/size
 create mode 100644 test/disk_tests/hdd_smart/sda_health
 create mode 100644 test/disk_tests/hdd_smart/sda_smart
 create mode 100644 test/disk_tests/hdd_smart/sda_smart_expected.json
 create mode 100644 test/disk_tests/hdd_smart/sda_udevadm
 create mode 100644 test/disk_tests/hdd_smart/sdb/device/vendor
 create mode 100644 test/disk_tests/hdd_smart/sdb/queue/rotational
 create mode 100644 test/disk_tests/hdd_smart/sdb/size
 create mode 100644 test/disk_tests/hdd_smart/sdb_health
 create mode 100644 test/disk_tests/hdd_smart/sdb_smart
 create mode 100644 test/disk_tests/hdd_smart/sdb_smart_expected.json
 create mode 100644 test/disk_tests/hdd_smart/sdb_udevadm
 create mode 100644 test/disk_tests/nvme_smart/disklist
 create mode 100644 test/disk_tests/nvme_smart/disklist_expected.json
 create mode 100644 test/disk_tests/nvme_smart/nvme0_smart
 create mode 100644 test/disk_tests/nvme_smart/nvme0n1/device/model
 create mode 100644 test/disk_tests/nvme_smart/nvme0n1/queue/rotational
 create mode 100644 test/disk_tests/nvme_smart/nvme0n1/size
 create mode 100644 test/disk_tests/nvme_smart/nvme0n1_smart_expected.json
 create mode 100644 test/disk_tests/nvme_smart/nvme0n1_udevadm
 create mode 100644 test/disk_tests/sas/disklist
 create mode 100644 test/disk_tests/sas/disklist_expected.json
 create mode 100644 test/disk_tests/sas/sda/device/model
 create mode 100644 test/disk_tests/sas/sda/device/vendor
 create mode 100644 test/disk_tests/sas/sda/queue/rotational
 create mode 100644 test/disk_tests/sas/sda/size
 create mode 100644 test/disk_tests/sas/sda_smart
 create mode 100644 test/disk_tests/sas/sda_smart_expected.json
 create mode 100644 test/disk_tests/sas/sda_udevadm
 create mode 100644 test/disk_tests/ssd_smart/disklist
 create mode 100644 test/disk_tests/ssd_smart/disklist_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sda/device/vendor
 create mode 100644 test/disk_tests/ssd_smart/sda/queue/rotational
 create mode 100644 test/disk_tests/ssd_smart/sda/size
 create mode 100644 test/disk_tests/ssd_smart/sda_smart
 create mode 100644 test/disk_tests/ssd_smart/sda_smart_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sda_udevadm
 create mode 100644 test/disk_tests/ssd_smart/sdb/device/vendor
 create mode 100644 test/disk_tests/ssd_smart/sdb/queue/rotational
 create mode 100644 test/disk_tests/ssd_smart/sdb/size
 create mode 100644 test/disk_tests/ssd_smart/sdb_smart
 create mode 100644 test/disk_tests/ssd_smart/sdb_smart_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sdb_udevadm
 create mode 100644 test/disk_tests/ssd_smart/sdc/device/vendor
 create mode 100644 test/disk_tests/ssd_smart/sdc/queue/rotational
 create mode 100644 test/disk_tests/ssd_smart/sdc/size
 create mode 100644 test/disk_tests/ssd_smart/sdc_smart
 create mode 100644 test/disk_tests/ssd_smart/sdc_smart_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sdc_udevadm
 create mode 100644 test/disk_tests/ssd_smart/sdd/device/vendor
 create mode 100644 test/disk_tests/ssd_smart/sdd/queue/rotational
 create mode 100644 test/disk_tests/ssd_smart/sdd/size
 create mode 100644 test/disk_tests/ssd_smart/sdd_smart
 create mode 100644 test/disk_tests/ssd_smart/sdd_smart_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sdd_udevadm
 create mode 100644 test/disk_tests/ssd_smart/sde/device/vendor
 create mode 100644 test/disk_tests/ssd_smart/sde/queue/rotational
 create mode 100644 test/disk_tests/ssd_smart/sde/size
 create mode 100644 test/disk_tests/ssd_smart/sde_smart
 create mode 100644 test/disk_tests/ssd_smart/sde_smart_expected.json
 create mode 100644 test/disk_tests/ssd_smart/sde_udevadm
 create mode 100644 test/disk_tests/usages/disklist
 create mode 100644 test/disk_tests/usages/disklist_expected.json
 create mode 100644 test/disk_tests/usages/mounts
 create mode 100644 test/disk_tests/usages/partlist
 create mode 100644 test/disk_tests/usages/pvs
 create mode 100644 test/disk_tests/usages/sda/device/vendor
 create mode 100644 test/disk_tests/usages/sda/queue/rotational
 create mode 100644 test/disk_tests/usages/sda/size
 create mode 100644 test/disk_tests/usages/sda_udevadm
 create mode 100644 test/disk_tests/usages/sdb/device/vendor
 create mode 100644 test/disk_tests/usages/sdb/queue/rotational
 create mode 100644 test/disk_tests/usages/sdb/size
 create mode 100644 test/disk_tests/usages/sdb_udevadm
 create mode 100644 test/disk_tests/usages/sdc/device/vendor
 create mode 100644 test/disk_tests/usages/sdc/queue/rotational
 create mode 100644 test/disk_tests/usages/sdc/size
 create mode 100644 test/disk_tests/usages/sdc_udevadm
 create mode 100644 test/disk_tests/usages/sdd/device/vendor
 create mode 100644 test/disk_tests/usages/sdd/queue/rotational
 create mode 100644 test/disk_tests/usages/sdd/size
 create mode 100644 test/disk_tests/usages/sdd_udevadm
 create mode 100644 test/disk_tests/usages/sde/device/vendor
 create mode 100644 test/disk_tests/usages/sde/queue/rotational
 create mode 100644 test/disk_tests/usages/sde/size
 create mode 100644 test/disk_tests/usages/sde_udevadm
 create mode 100644 test/disk_tests/usages/sdf/device/vendor
 create mode 100644 test/disk_tests/usages/sdf/queue/rotational
 create mode 100644 test/disk_tests/usages/sdf/size
 create mode 100644 test/disk_tests/usages/sdf_udevadm
 create mode 100644 test/disk_tests/usages/zpool
 create mode 100644 test/disklist_test.pm
 create mode 100755 test/run_disk_tests.pl

-- 
2.1.4





More information about the pve-devel mailing list