monero/tests/unit_tests
iamamyth 84e44dd012 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-02-08 02:55:03 +01:00
..
account.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
address_from_url.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
aligned.cpp Add <cstdint> to aligned test 2024-01-29 21:40:50 -05:00
apply_permutation.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
base58.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
block_queue.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
block_reward.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
blockchain_db.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
bootstrap_node_selector.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
bulletproofs.cpp multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
bulletproofs_plus.cpp Update copyright to 2022 for Hardfork files 2022-04-29 11:12:36 +02:00
canonical_amounts.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
chacha.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
checkpoints.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
CMakeLists.txt wallet2: fix store_to() and change_password() 2023-08-23 11:52:31 -05:00
command_line.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
crypto.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging [RELEASE] 2024-09-10 16:07:36 -05:00
decompose_amount_into_digits.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
device.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
difficulty.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
dns_resolver.cpp tests: fix IPv4Success, DNSSECSuccess 2025-01-16 13:17:36 +01:00
epee_boosted_tcp_server.cpp address PR comments 2022-07-08 15:10:03 -07:00
epee_levin_protocol_handler_async.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
epee_serialization.cpp contrib: force (de)serialization to create params section incase there is none. 2024-12-13 19:49:55 +00:00
epee_utils.cpp epee: string_tools: keep full path in cut_off_extension 2024-08-14 19:50:06 +02:00
expect.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
fee.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
get_xtype_from_string.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hardfork.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hashchain.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hmac_keccak.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
http.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
is_hdd.cpp tests: Fix tools::is_hdd unit tests 2025-02-08 02:55:03 +01:00
json_serialization.cpp Fix ZMQ DaemonInfo: 2024-06-24 20:06:33 -04:00
json_serialization.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
keccak.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
levin.cpp cryptonote_protocol: prevent duplicate txs in fluff queue 2024-06-06 17:33:17 +03:30
lmdb.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
logging.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
long_term_block_weight.cpp add a test for the long term weight cache 2023-10-02 15:28:50 +01:00
main.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
memwipe.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mlocker.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mnemonics.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mul_div.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
multiexp.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
multisig.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging [RELEASE] 2024-09-10 16:07:36 -05:00
net.cpp Disable/fix ports with I2P 2024-01-30 13:36:21 -05:00
node_server.cpp Merge pull request #9460 2025-01-22 22:47:10 +00:00
notify.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
output_distribution.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
output_selection.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
parse_amount.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
pruning.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
random.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ringct.cpp multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
ringdb.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
rolling_median.cpp epee: allow copying a rolling_median_t object 2022-04-10 18:13:31 +00:00
rpc_version_str.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
scaling_2021.cpp Update copyright to 2022 for Hardfork files 2022-04-29 11:12:36 +02:00
serialization.cpp build: fix build with Boost 1.85 and remove instances of viewkey logging [RELEASE] 2024-09-10 16:07:36 -05:00
sha256.cpp unit_tests: add more sha256sum test cases 2022-05-18 01:34:20 +02:00
slow_memmem.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
subaddress.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_notifier.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_peerlist.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_protocol_pack.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_tx_utils.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
threadpool.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
tx_proof.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
unbound.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
unit_tests_utils.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
uri.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
util.cpp common: do not use DNS to determine if address is local 2023-05-25 18:06:34 +02:00
varint.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ver_rct_non_semantics_simple_cached.cpp verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
vercmp.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_storage.cpp common: support boost filesystem copy_options. 2024-05-01 02:51:08 +03:30
wipeable_string.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
zmq_rpc.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00