This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/celix.git
commit 53cf5860ad5b64c35ab510f7e96eadf30ebd6fd0 Merge: cd5a44cf 2e24b1f6 Author: PengZheng <[email protected]> AuthorDate: Thu Jun 1 10:02:52 2023 +0800 Merge pull request #564 from apache/feature/556-osgi-uninstall Avoid leaving partial archive in case of errors. libs/error_injector/CMakeLists.txt | 1 + libs/error_injector/unistd/CMakeLists.txt | 24 ++ libs/error_injector/unistd/include/unistd_ei.h | 35 +++ libs/error_injector/unistd/src/unistd_ei.cc | 33 +++ libs/framework/gtest/CMakeLists.txt | 4 +- .../BundleArchiveWithErrorInjectionTestSuite.cc | 209 +++++++++++++--- .../src/CelixBundleCacheErrorInjectionTestSuite.cc | 111 ++++++--- .../gtest/src/CelixBundleCacheTestSuite.cc | 4 + libs/framework/include_deprecated/bundle_archive.h | 7 +- libs/framework/src/bundle_archive.c | 269 ++++++++++++--------- libs/framework/src/bundle_archive_private.h | 7 + libs/framework/src/bundle_revision.c | 4 +- 12 files changed, 509 insertions(+), 199 deletions(-)
