Skip to content

Commit d4f99e4

Browse files
saibulususaibulusu
andauthored
Fixing unit tests in ExecuteCommandTests (#556)
* Fixing ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnUnixSystems. * Debugging ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnWindowsSystems. * Debugging ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnWindowsSystems. * Debugging ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnWindowsSystems. * Printing full command in GetCommandsToExecute. * Adding platform win. * Removing unnecessary line. --------- Co-authored-by: saibulusu <[email protected]>
1 parent 42db3e1 commit d4f99e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/VirtualClient/VirtualClient.Dependencies.UnitTests/ExecuteCommandTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ public async Task ExecuteCommandResolvesPackagePathExpressionsOnInitializationIn
368368
}
369369

370370
[Test]
371+
[Platform("Win")]
371372
public async Task ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnWindowsSystems()
372373
{
373374
this.SetupDefaults(PlatformID.Win32NT);
@@ -407,7 +408,7 @@ public async Task ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCo
407408
[Test]
408409
public async Task ExecuteCommandTheResolvedPackagePathExpressionsWhenExecutingCommandsOnUnixSystems()
409410
{
410-
this.SetupDefaults(PlatformID.Win32NT);
411+
this.SetupDefaults(PlatformID.Unix);
411412
string packagePath = this.mockFixture.GetPackagePath("anypackage");
412413

413414
// The package MUST exist on the system.

0 commit comments

Comments
 (0)