Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 07dae3c

Browse files
EgorBodanmoseley
authored andcommitted
fix RemoteExecutorTestBase.Process.cs (#25915)
1 parent 163cfff commit 07dae3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CoreFx.Private.TestUtilities/src/System/Diagnostics/RemoteExecutorTestBase.Process.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ private static RemoteInvokeHandle RemoteInvoke(MethodInfo method, string[] args,
5555
string passedArgs = pasteArguments ? PasteArguments.Paste(args, pasteFirstArgumentUsingArgV0Rules: false) : string.Join(" ", args);
5656
string testConsoleAppArgs = ExtraParameter + " " + metadataArgs + " " + passedArgs;
5757

58-
if (!File.Exists(TestConsoleApp))
59-
throw new IOException("RemoteExecutorConsoleApp test app isn't present in the test runtime directory.");
58+
if (!File.Exists(HostRunner))
59+
throw new IOException($"{HostRunner} test app isn't present in the test runtime directory.");
6060

6161
psi.FileName = HostRunner;
6262
psi.Arguments = testConsoleAppArgs;

0 commit comments

Comments
 (0)