summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-04-28 18:13:43 +0900
committerHiroshi Mimaki <[email protected]>2020-05-07 09:33:08 +0900
commitd464fe50033084df6f171956d2fa051e4448c22f (patch)
tree4fac5371564b9d9c3f297a15e5716afd4d0b5548
parent6b839b231971f058656521dc39bd4f27968230c6 (diff)
downloadmruby-d464fe50033084df6f171956d2fa051e4448c22f.tar.gz
mruby-d464fe50033084df6f171956d2fa051e4448c22f.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;
}