Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartheek Penagamuri committed Oct 24, 2022
1 parent d1fd72b commit 793229e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/NuGet.Core.Tests/NuGet.Common.Test/Migration1Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public void EnsureExpectedPermissions_Directories_Success(string currentPermissi
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 + "\"");
Migration1.Exec("chmod", currentPermissions + " " + "\"" + v3cacheSubDirectoryInfo.FullName + "\"");
Migration1.Exec("chmod", currentPermissions + " " + v3cachePath.FormatWithDoubleQuotes());
Migration1.Exec("chmod", currentPermissions + " " + v3cacheSubDirectoryInfo.FullName.FormatWithDoubleQuotes());
HashSet<string> pathsToCheck = new HashSet<string>() { testDirectory.Path, v3cachePath, v3cacheSubDirectoryInfo.FullName };

Migration1.EnsureExpectedPermissions(pathsToCheck, PosixPermissions.Parse(umask));
Expand Down

0 comments on commit 793229e

Please sign in to comment.