test-tool: Make it possible to disable memory caching

Disable memory caching in libiscsi if the environment variable
LIBISCSI_CACHE_ALLOCATIONS has been set to zero. This makes
Valgrind reports more meaningful.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-04-20 09:56:35 +02:00
committed by Ronnie Sahlberg
parent d8de6531f8
commit cf4076dba9
5 changed files with 37 additions and 11 deletions

View File

@@ -76,6 +76,7 @@ iscsi_sanitize_crypto_erase_sync
iscsi_sanitize_crypto_erase_task
iscsi_sanitize_exit_failure_mode_sync
iscsi_sanitize_exit_failure_mode_task
iscsi_set_cache_allocations
iscsi_set_noautoreconnect
iscsi_set_reconnect_max_retries
iscsi_set_timeout