Skip to content

Commit

Permalink
[SKIP-CI] updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartheek Penagamuri committed Oct 21, 2022
1 parent 2c5ddbb commit f8ed6e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/NuGet.Core.Tests/NuGet.Common.Test/Migration1Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ public void DeleteMigratedDirectories_DeletesNonEmptyDirectories_Success()
}

[PlatformTheory(Platform.Darwin, Platform.Linux)]
[InlineData("777", "022", "755", "v3-cache")]
[InlineData("775", "002", "775", "v3 cache")]
[InlineData("700", "022", "700", "v3-cache")]
[InlineData("700", "002", "700", "v3 cache")]
public void EnsureExpectedPermissions_Directories_Success(string currentPermissions, string umask, string newPermissions, string path)
[InlineData("777", "022", "755")]
[InlineData("775", "002", "775")]
[InlineData("700", "022", "700")]
[InlineData("700", "002", "700")]
public void EnsureExpectedPermissions_Directories_Success(string currentPermissions, string umask, string newPermissions)
{
using (var testDirectory = TestDirectory.Create())
{
var v3cachePath = Path.Combine(testDirectory, path);
var v3cachePath = Path.Combine(testDirectory, "my documents", "v3-cache");
var v3cacheSubDirectoryInfo = Directory.CreateDirectory(Path.Combine(v3cachePath, "subDirectory"));
Migration1.Exec("chmod", currentPermissions + " " + testDirectory.Path);
Migration1.Exec("chmod", currentPermissions + " " + "\"" + v3cachePath + "\"");
Expand Down

0 comments on commit f8ed6e5

Please sign in to comment.