sshuttle/tests/client
Scott Kuhl e1106a33a9 Only write /etc/hosts when necessary.
Without this patch, sshuttle 'restores' /etc/hosts even if it didn't
make any modifications to it. This can be confirmed by running without
--auto-hosts and confirming that the modification time of /etc/hosts
is unchanged while sshuttle is running, but is updated when sshuttle
exits (and a debug2() message is printed indicating the file is
written).

I'm not aware of the previous behavior causing problems. However,
writing an important file unnecessarily as root should be avoided.
2020-10-19 00:17:37 -04:00
..
test_firewall.py Only write /etc/hosts when necessary. 2020-10-19 00:17:37 -04:00
test_helpers.py remove version_info based branching 2020-06-03 14:30:37 +10:00
test_methods_nat.py Fix capturing of local DNS servers 2019-09-22 10:37:49 +10:00
test_methods_pf.py The size of pf_rule grew in OpenBSD 6.4 2019-09-22 10:29:28 +10:00
test_methods_tproxy.py Add tproxy udp port mark filter that was missed in #144, fixes #367. 2019-10-13 11:45:04 +11:00
test_options.py Fix/pep8 (#277) 2019-02-11 09:59:13 +11:00
test_sdnotify.py Fix/pep8 (#277) 2019-02-11 09:59:13 +11:00