Skip to content

Commit df08e01

Browse files
committed
LT22418: take flle not found; use 'cd /d ...'
Change-Id: I7378331ac67f8fb3ff0c28bad73eb522020ea7ae
1 parent 8bf6313 commit df08e01

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Src/Utilities/pcpatrflex/DisambiguateInFLExDB/DisambiguateInFLExDBTests/DisambiguateTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public override void FixtureSetup()
3737
base.FixtureSetup();
3838
TestDirInit();
3939
if (String.IsNullOrEmpty(TestFile))
40-
TestFile = "PCPATRTesting.fwdata";
40+
TestFile = kTestFile;
4141
if (String.IsNullOrEmpty(SavedTestFile))
42-
SavedTestFile = "PCPATRTestingB4.fwdata";
42+
SavedTestFile = kTestFileB4;
4343
TempTestFile = Path.Combine(Path.GetTempPath(), TestFile);
4444
File.Copy(Path.Combine(TestDataDir, SavedTestFile), TempTestFile, true);
4545
ProjId = new ProjectId(TempTestFile);

Src/Utilities/pcpatrflex/DisambiguateInFLExDB/PCPatrInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private void CreateBatchFile()
5151
BatchFile = Path.Combine(Path.GetTempPath(), "PcPatrFLEx.bat");
5252
StringBuilder sbBatchFile = new StringBuilder();
5353
sbBatchFile.Append("@echo off\n");
54-
sbBatchFile.Append("cd \"");
54+
sbBatchFile.Append("cd /d \"");
5555
sbBatchFile.Append(Path.GetTempPath());
5656
sbBatchFile.Append("\"\n\"");
5757
sbBatchFile.Append(GetPcPatr64ExePath());

0 commit comments

Comments
 (0)