diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-20 09:57:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-20 09:57:52 -0500 |
commit | 5c6fc5250e2ab4f0ffb935d018ece39bfa274f87 (patch) | |
tree | d6afc417e804e5c6462a9118970dad045ffa751a /src/test | |
parent | a96317a79dac9d82c334e206c7c524e77f13217e (diff) | |
download | tor-5c6fc5250e2ab4f0ffb935d018ece39bfa274f87.tar.gz tor-5c6fc5250e2ab4f0ffb935d018ece39bfa274f87.zip |
test_util: remove UTIL_LEGACY_NO_WIN.
It was only used in one place.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index ff0247fa08..cd745c4427 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -6295,15 +6295,12 @@ test_util_map_anon_nofork(void *arg) #ifdef _WIN32 #define UTIL_TEST_NO_WIN(n, f) { #n, NULL, TT_SKIP, NULL, NULL } #define UTIL_TEST_WIN_ONLY(n, f) UTIL_TEST(n, (f)) -#define UTIL_LEGACY_NO_WIN(n) UTIL_TEST_NO_WIN(n, 0) #elif defined(__ANDROID__) #define UTIL_TEST_NO_WIN(n, f) { #n, NULL, TT_SKIP, NULL, NULL } #define UTIL_TEST_WIN_ONLY(n, f) { #n, NULL, TT_SKIP, NULL, NULL } -#define UTIL_LEGACY_NO_WIN(n) UTIL_TEST_NO_WIN(n, 0) #else #define UTIL_TEST_NO_WIN(n, f) UTIL_TEST(n, (f)) #define UTIL_TEST_WIN_ONLY(n, f) { #n, NULL, TT_SKIP, NULL, NULL } -#define UTIL_LEGACY_NO_WIN(n) UTIL_LEGACY(n) #endif /* defined(_WIN32) */ struct testcase_t util_tests[] = { @@ -6314,7 +6311,7 @@ struct testcase_t util_tests[] = { UTIL_LEGACY(config_line_comment_character), UTIL_LEGACY(config_line_escaped_content), UTIL_LEGACY(config_line_crlf), - UTIL_LEGACY_NO_WIN(expand_filename), + UTIL_TEST_NO_WIN(expand_filename, 0), UTIL_LEGACY(escape_string_socks), UTIL_LEGACY(string_is_key_value), UTIL_LEGACY(strmisc), |