Skip to content

Commit 6941b5c

Browse files
committed
update redhat tests to read symlinks
1 parent 37eba60 commit 6941b5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vscode-dotnet-runtime-library/src/test/unit/RedHatDistroTests.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ suite('Red Hat For Linux Distro Logic Unit Tests', () =>
5353
if(shouldRun)
5454
{
5555
const distroFeedDir = await provider.getExpectedDotnetDistroFeedInstallationDirectory();
56-
assert.equal(distroFeedDir, '/usr/lib64/dotnet/dotnet');
56+
assert.equal(distroFeedDir, '/usr/lib64/dotnet');
5757
}
5858
}).timeout(standardTimeoutTime);
5959

@@ -104,7 +104,7 @@ Microsoft.NETCore.App 7.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]`;
104104
if(shouldRun)
105105
{
106106
await provider.getInstalledGlobalDotnetPathIfExists(installType);
107-
assert.equal(mockExecutor.attemptedCommand, 'which dotnet');
107+
assert.equal(mockExecutor.attemptedCommand, 'readlink -f /usr/bin/dotnet');
108108
}
109109
}).timeout(standardTimeoutTime);
110110

0 commit comments

Comments
 (0)