Skip to content

Commit

Permalink
[Android][tests] Replace hardcoded /tmp path (dotnet#77291)
Browse files Browse the repository at this point in the history
Akin to dotnet#73067
  • Loading branch information
mdh1418 authored Oct 23, 2022
1 parent 72eb39c commit 33cb335
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void CreateServer_ConnectClient()
[Fact]
public static void CreateServer_ConnectClient_UsingUnixAbsolutePath()
{
string name = Path.Combine("/tmp", PipeStreamConformanceTests.GetUniquePipeName());
string name = Path.Combine(Path.GetTempPath(), PipeStreamConformanceTests.GetUniquePipeName());
using (var server = new NamedPipeServerStream(name, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.CurrentUserOnly))
{
using (var client = new NamedPipeClientStream(".", name, PipeDirection.InOut, PipeOptions.CurrentUserOnly))
Expand Down

0 comments on commit 33cb335

Please sign in to comment.