summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-04-28 18:13:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-04-28 18:13:43 +0900
commit28b23b44ec8602870576cc1f45d8a59dba676c79 (patch)
tree94d49830b427a935e68c24b35c8b7e2916b81cda
parent8627157298cb1443bd8562a8fc0740acfb018974 (diff)
downloadmruby-28b23b44ec8602870576cc1f45d8a59dba676c79.tar.gz
mruby-28b23b44ec8602870576cc1f45d8a59dba676c79.zip
Remove the temporary file from the `AF_UNIX` socket test; #4981
-rw-r--r--mrbgems/mruby-io/test/mruby_io_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c
index 2200b750b..18635fb55 100644
--- a/mrbgems/mruby-io/test/mruby_io_test.c
+++ b/mrbgems/mruby-io/test/mruby_io_test.c
@@ -93,6 +93,7 @@ static int mrb_io_socket_available()
retval = 0;
}
sock_test_out:
+ unlink(socketname);
close(fd);
return retval;
}