From c81362b2eccc43ab55bb31532322292fe1563144 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Thu, 9 Apr 2020 00:14:26 +0300 Subject: [PATCH] test: rename simpleclose to simpleclose_rw (since it works via write/read) --- test/regress.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/regress.c b/test/regress.c index cf5060c0ef..da5c794070 100644 --- a/test/regress.c +++ b/test/regress.c @@ -387,7 +387,7 @@ record_event_cb(evutil_socket_t s, short what, void *ptr) } static void -test_simpleclose(void *ptr) +test_simpleclose_rw(void *ptr) { /* Test that a close of FD is detected as a read and as a write. */ struct event_base *base = event_base_new(); @@ -3461,8 +3461,7 @@ struct testcase_t main_testcases[] = { LEGACY(simpleread, TT_ISOLATED), LEGACY(simpleread_multiple, TT_ISOLATED), LEGACY(simplewrite, TT_ISOLATED), - { "simpleclose", test_simpleclose, TT_FORK, &basic_setup, - NULL }, + { "simpleclose_rw", test_simpleclose_rw, TT_FORK, &basic_setup, NULL }, LEGACY(multiple, TT_ISOLATED), LEGACY(persistent, TT_ISOLATED), LEGACY(combined, TT_ISOLATED),