torsocks "make check" fails from recent changes to conf_file_set_tor_address
"make check" target now fails because the return value has changed in "conf_file_set_tor_address" (from commit d5ca788b).
===============================================
torsocks 2.4.0: tests/unit/test-suite.log
===============================================
# TOTAL: 6
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_config-file
======================
1..11
# Config file read none
ok 1 - Use default when no config file
# Config file read valid
ok 2 - Read valid config file
# Config file read empty
not ok 3 - Read empty config file
# Failed test (test_config-file.c:test_config_file_read_empty() at line 84)
# Config file read invalid values
not ok 4 - TorPort 65536 returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 97)
not ok 5 - TorPort 0 returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 103)
not ok 6 - TorAddress invalid IPv4 returns -1
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 109)
not ok 7 - TorAddress invalid IPv6 returns -1
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 115)
not ok 8 - OnionAdrRange invalid range returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 121)
not ok 9 - OnionAdrRange invalid IPv4 address returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 127)
not ok 10 - OnionAdrRange invalid IPv6 address returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 133)
not ok 11 - OnionAdrRange invalid mask returns -EINVAL
# Failed test (test_config-file.c:test_config_file_read_invalid_values() at line 143)
# Looks like you failed 9 tests of 11.
FAIL test_config-file (exit status: 9)
Edited by syphyr