Commit Graph

2 Commits

Author SHA1 Message Date
Kinsey Moore
ea27adaa0d testsuites/flashdev01: Use correct page_size type
The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.
2023-06-10 11:02:29 -05:00
Aaron Nyholm
8e3ab34051 testsuites/libtests: Add test for flashdev 2023-05-16 12:48:23 +10:00