Change prefix of temporary sockets to prevent races
commitfc88b648ca5c2ba6c845c357192d7e36f9dedc5c
authorHleb Valoshka <375GNU@Gmail.COM>
Sat, 24 Aug 2013 13:50:17 +0000 (24 16:50 +0300)
committerEric Wong <normalperson@yhbt.net>
Mon, 2 Sep 2013 21:16:28 +0000 (2 21:16 +0000)
treea827742348692a4b58a69bd1385ca6f663203009
parent30c12374f8d23f0e635946fc38546820216457bf
Change prefix of temporary sockets to prevent races

Note: this is an incomplete fix and the race can still happen.
A proper fix would involve using a temporary directory for each
test and placing the Unix socket in there.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
test/test_unix_client_read_server_write.rb
test/test_unix_connect.rb
test/test_unix_server.rb
test/test_unix_server_read_client_write.rb