hardware_TrimIntegrity: Report trim not supported as a failure / refactor
Now that we enable trim in eMMC part, the test should be failed when
IOCTL reports that trim command is not supported.
Also reorder command a bit to calculate hash for zero/one stream before
measure the read speed.
Fix a bug in calculating hash for one stream.
TEST=Tested in falco. Test passed.
Reviewed-by: Gwendal Grignou <email@example.com>
Reviewed-by: Grant Grundler <firstname.lastname@example.org>
Commit-Queue: Puthikorn Voravootivat <email@example.com>
Tested-by: Puthikorn Voravootivat <firstname.lastname@example.org>
1 file changed