monero/tests/unit_tests
iamamyth f48a73d919 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.
2025-01-24 23:11:47 -08:00
..
account.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
address_from_url.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
aligned.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
apply_permutation.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
base58.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
block_queue.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
block_reward.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
blockchain_db.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
bootstrap_node_selector.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
bulletproofs_plus.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
bulletproofs.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
canonical_amounts.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
chacha.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
checkpoints.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
CMakeLists.txt cmake: use pkgconfig to find zeromq 2024-12-23 17:12:22 +01:00
command_line.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
crypto.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging 2024-09-06 11:46:22 -05:00
decompose_amount_into_digits.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
device.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
difficulty.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
dns_resolver.cpp tests: fix IPv4Success, DNSSECSuccess 2025-01-15 20:28:33 +01:00
epee_boosted_tcp_server.cpp Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
epee_levin_protocol_handler_async.cpp Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
epee_serialization.cpp contrib: force (de)serialization to create params section incase there is none. 2024-11-16 20:22:14 +00:00
epee_utils.cpp Merge pull request #9507 2024-12-23 10:41:09 -05:00
expect.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
get_xtype_from_string.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
hardfork.cpp Merge pull request #9386 2024-07-16 19:01:09 -04:00
hashchain.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
hmac_keccak.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
http.cpp Replace in-tree MD5 with OpenSSL 2024-11-22 12:24:22 +01:00
is_hdd.cpp tests: Fix tools::is_hdd unit tests 2025-01-24 23:11:47 -08:00
json_serialization.cpp Fix ZMQ DaemonInfo: 2024-06-24 19:57:20 -04:00
json_serialization.h copyright: bump to 2024 2024-05-21 16:29:33 +00:00
keccak.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
levin.cpp Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
lmdb.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
logging.cpp Merge pull request #9386 2024-07-16 19:01:09 -04:00
long_term_block_weight.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
main.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
memwipe.cpp tests: include <iomanip> where using std::setfill 2024-10-07 00:50:45 -05:00
mlocker.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
mnemonics.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
mul_div.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
multiexp.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
multisig.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging 2024-09-06 11:46:22 -05:00
net.cpp Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
node_server.cpp Merge pull request #9459 2025-01-22 22:39:57 +00:00
notify.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
output_distribution.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
output_selection.cpp Merge pull request #9386 2024-07-16 19:01:09 -04:00
parse_amount.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
pruning.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
random.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
ringct.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
ringdb.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
rolling_median.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
rpc_version_str.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
scaling_2021.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
serialization.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging 2024-09-06 11:46:22 -05:00
sha256.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
slow_memmem.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
subaddress.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
test_notifier.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
test_peerlist.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
test_protocol_pack.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
test_tx_utils.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
threadpool.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
tx_proof.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
unbound.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
unit_tests_utils.h copyright: bump to 2024 2024-05-21 16:29:33 +00:00
uri.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
util.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
variant.cpp unit_tests: fix variant tests after 'optional' name split 2024-12-24 13:55:18 -06:00
varint.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
ver_rct_non_semantics_simple_cached.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
vercmp.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
wallet_storage.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00
wipeable_string.cpp Merge pull request #9338 2024-07-16 18:42:49 -04:00
zmq_rpc.cpp copyright: bump to 2024 2024-05-21 16:29:33 +00:00