aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authoriamamyth <user@example.com>2025-01-17 02:48:48 -0800
committertobtoht <tob@featherwallet.org>2025-02-08 02:55:03 +0100
commit84e44dd0122cc4e532206bad01a25629deac3d9f (patch)
treea2add84e27e7381577b799c72cf66761bf0d0a0b /external
parente01d08b706380cc6518d0f0a61c0d427739a5678 (diff)
downloadmonzero-core-84e44dd0122cc4e532206bad01a25629deac3d9f.tar.gz
monzero-core-84e44dd0122cc4e532206bad01a25629deac3d9f.tar.xz
monzero-core-84e44dd0122cc4e532206bad01a25629deac3d9f.zip
tests: Fix tools::is_hdd unit tests
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.
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions