From eb53852d7ae6838e54525eb57df1d8ce8a722f9b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 24 Jun 2022 12:28:27 -0500 Subject: Add longPathAware to Burn manifest to support long paths. Fixes 3455 --- src/burn/test/BurnUnitTest/RegistrationTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/burn/test/BurnUnitTest/RegistrationTest.cpp') diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp index 883b9cc8..aa3bd34b 100644 --- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp +++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp @@ -108,8 +108,8 @@ namespace Bootstrapper TestThrowOnFailure(hr, L"Failed to register bundle."); // verify that registration was created - Assert::True(Directory::Exists(cacheDirectory)); - Assert::True(File::Exists(Path::Combine(cacheDirectory, gcnew String(L"setup.exe")))); + Assert::True(Directory::Exists(cacheDirectory), "Cache directory didn't exist."); + Assert::True(File::Exists(Path::Combine(cacheDirectory, gcnew String(L"setup.exe"))), "Bundle exe wasn't cached."); this->ValidateUninstallKeyResume(Int32(BURN_RESUME_MODE_ACTIVE)); this->ValidateRunOnceKeyEntry(cacheExePath); @@ -119,7 +119,7 @@ namespace Bootstrapper TestThrowOnFailure(hr, L"Failed to unregister bundle."); // verify that registration was removed - Assert::False(Directory::Exists(cacheDirectory)); + Assert::False(Directory::Exists(cacheDirectory), "Cache directory wasn't removed."); this->ValidateUninstallKeyNull(L"Resume"); this->ValidateRunOnceKeyString(TEST_BUNDLE_ID, nullptr); -- cgit v1.2.3-55-g6feb