From 8cc68835245dd3f542d28299ecfa5c2bc3d471eb Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 25 Jul 2009 03:35:32 +0000 Subject: [PATCH] Fix the main/methods unit test to pass from "make verify". The problem was introduced when we changed the semantics of get_supported_methods() to reflect all the methods that exist. Previously, it had not returned methods disabled from the environment, but the test didn't know that. svn:r1379 --- test/regress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/regress.c b/test/regress.c index 4ffc3a2c..71e3776c 100644 --- a/test/regress.c +++ b/test/regress.c @@ -1478,6 +1478,7 @@ test_methods(void *ptr) assert(cfg != NULL); tt_int_op(event_config_avoid_method(cfg, backend), ==, 0); + event_config_set_flag(cfg, EVENT_BASE_FLAG_IGNORE_ENV); base = event_base_new_with_config(cfg); if (n_methods > 1) { -- 2.40.0