Skip to content

Commit

Permalink
test: rename simpleclose to simpleclose_rw (since it works via write/…
Browse files Browse the repository at this point in the history
…read)
  • Loading branch information
azat committed May 4, 2020
1 parent 28eb0d9 commit c81362b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/regress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit c81362b

Please sign in to comment.