From 85d97f05f6f8e4c1d73cd2bb096806839d16f3b0 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 31 10月 2020 10:27:16 +0800 Subject: [PATCH] Pc identifier Mac address issues #108 & #107 --- test/functional/generate-license.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/generate-license.cpp b/test/functional/generate-license.cpp index cdaa175..a1a760a 100644 --- a/test/functional/generate-license.cpp +++ b/test/functional/generate-license.cpp @@ -48,11 +48,11 @@ } cout << "executing :" << ss.str() << endl; const int retCode = std::system(ss.str().c_str()); - BOOST_CHECK_EQUAL(retCode, 0); - BOOST_ASSERT_MSG(fs::exists(license_fname), "license exists"); + BOOST_REQUIRE_EQUAL(retCode, 0); + BOOST_REQUIRE_MESSAGE(fs::exists(license_fname), "license exists"); CSimpleIniA ini; const SI_Error rc = ini.LoadFile(license_fname.c_str()); - BOOST_CHECK_GE(rc, 0); + BOOST_REQUIRE_GE(rc, 0); const int sectionSize = ini.GetSectionSize(LCC_PROJECT_NAME); BOOST_CHECK_GT(sectionSize, 0); return license_fname.string(); -- Gitblit v1.9.1