aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/is_hdd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix tools::is_hdd unit testsiamamyth2025-02-081-9/+28
| | | | | | | | | | | Correct the unit tests for tools::is_hdd to avoid making assumptions about the configuration of a particular device based solely on the value of the __GLIBC__ preprocessor flag. Instead, rely on the test invoker to provide paths for devices of specific types via the process environment, thereby avoiding faulty assumptions and improving the specificity of test assertions. To ensure appropriate devices exist, add a script, tests/create_test_disks.sh, which configures loopback devices mirroring relevant configurations.
* Merge pull request #4424Riccardo Spagni2018-09-291-2/+2
| | | | 92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
* is_hdd updatep8p2018-08-251-0/+17