Skip to content

Commit

Permalink
Moved issue 63 tests into it's own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ralequi committed Mar 24, 2023
1 parent 3f0517c commit ee00854
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/dataset/listingtests/linux_01/_--scan-open
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
/dev/nvme0n1 -d nvme # /dev/nvme0n1, NVMe device
4 changes: 2 additions & 2 deletions tests/dataset/listingtests/linux_01/device.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"count": 2
}
"count": 1
}
380 changes: 380 additions & 0 deletions tests/dataset/singletests/issue_63_nvme/device.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,380 @@
{
"name": "/dev/nvme0n1",
"interface": "nvme",
"values": {
"abridged": false,
"name": "nvme0n1",
"family": null,
"model": "WDS200T1X0E-00AFY0",
"serial": "XXXXXXXXXXXX",
"firmware": "614600WD",
"smart_capable": true,
"smart_enabled": true,
"assessment": "PASS",
"messages": [],
"is_ssd": true,
"rotation_rate": null,
"attributes": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"test_capabilities": {
"offline": false,
"short": false,
"long": false,
"conveyance": false,
"selective": false
},
"tests": [],
"diagnostics": {
"_block_size": 512,
"Reallocated_Sector_Ct": null,
"Start_Stop_Spec": null,
"Start_Stop_Cycles": null,
"Start_Stop_Pct_Left": null,
"Load_Cycle_Spec": null,
"Load_Cycle_Count": null,
"Load_Cycle_Pct_Left": null,
"Power_On_Hours": null,
"Life_Left": null,
"Corrected_Reads": null,
"Corrected_Writes": null,
"Corrected_Verifies": null,
"_Uncorrected_Reads": null,
"_Uncorrected_Writes": null,
"_Uncorrected_Verifies": null,
"_Reads_GB": null,
"_Writes_GB": null,
"_Verifies_GB": null,
"_Reads_count": null,
"_Writes_count": null,
"_Verifies_count": null,
"Non_Medium_Errors": null,
"Reads_GB": null,
"Reads_count": null,
"Uncorrected_Reads": null,
"Uncorrected_Verifies": null,
"Uncorrected_Writes": null,
"Verifies_GB": null,
"Verifies_count": null,
"Writes_GB": null,
"Writes_count": null,
"block_size": 512
},
"temperature": 44,
"temperatures": {},
"logical_sector_size": 512,
"physical_sector_size": null,
"if_attributes": {
"critialWarning": null,
"temperature": 44,
"availableSpare": 100,
"availableSpareThreshold": 10,
"percentageUsed": 0,
"dataUnitsRead": 24646582,
"bytesRead": 12600000000000,
"dataUnitsWritten": 19487218,
"bytesWritten": 9970000000000,
"hostReadCommands": 243374162,
"hostWriteCommands": 696541267,
"controllerBusyTime": 403,
"powerCycles": 25,
"powerOnHours": 3457,
"unsafeShutdowns": 10,
"integrityErrors": 0,
"errorEntries": 0,
"warningTemperatureTime": null,
"criticalTemperatureTime": 0,
"errors": [],
"criticalWarning": 0
},
"capacity": null,
"dev_interface": "nvme",
"dev_reference": "/dev/nvme0n1",
"diags": {
"Reallocated_Sector_Ct": "-",
"Start_Stop_Spec": "-",
"Start_Stop_Cycles": "-",
"Start_Stop_Pct_Left": "-",
"Load_Cycle_Spec": "-",
"Load_Cycle_Count": "-",
"Load_Cycle_Pct_Left": "-",
"Power_On_Hours": "-",
"Life_Left": "-",
"Corrected_Reads": "-",
"Corrected_Writes": "-",
"Corrected_Verifies": "-",
"Uncorrected_Reads": "-",
"Uncorrected_Writes": "-",
"Uncorrected_Verifies": "-",
"Reads_GB": "-",
"Writes_GB": "-",
"Verifies_GB": "-",
"Reads_count": "-",
"Writes_count": "-",
"Verifies_count": "-",
"block_size": "512",
"Non-Medium_Errors": "-"
},
"interface": "nvme",
"sector_size": 512,
"size": 0,
"size_raw": null,
"smartctl_interface": "nvme",
"vendor": "WDS"
}
}

0 comments on commit ee00854

Please sign in to comment.