diff --git a/Changelog.md b/Changelog.md index 184a7432..47ed4276 100644 --- a/Changelog.md +++ b/Changelog.md @@ -235,6 +235,17 @@ 1. Support link referral download * [Pull request #333](https://github.com/gazebosim/gz-fuel-tools/pull/333) +### Gazebo Fuel Tools 4.9.1 (2024-01-05) + +1. Create directories and more output on fail + * [Pull request #392](https://github.com/gazebosim/gz-fuel-tools/pull/392) + +1. Update github action workflows + * [Pull request #388](https://github.com/gazebosim/gz-fuel-tools/pull/388) + +1. Zip: use non-deprecated methods + * [Pull request #360](https://github.com/gazebosim/gz-fuel-tools/pull/360) + ### Gazebo Fuel Tools 4.9.0 (2023-05-03) 1. Add bash completion diff --git a/src/gz_src_TEST.cc b/src/gz_src_TEST.cc index 506efc97..62b1f4fe 100644 --- a/src/gz_src_TEST.cc +++ b/src/gz_src_TEST.cc @@ -51,6 +51,11 @@ class CmdLine : public ::testing::Test // instead of on teardown leaves the folder intact for debugging if needed common::removeAll(testCachePath); ASSERT_TRUE(common::createDirectories(testCachePath)); + ASSERT_TRUE(common::createDirectories( + common::joinPaths(testCachePath, "fuel.gazebosim.org"))); + ASSERT_TRUE(common::createDirectories( + common::joinPaths(testCachePath, "fuel.ignitionrobotics.org"))); + setenv("IGN_FUEL_CACHE_PATH", this->testCachePath.c_str(), true); } @@ -85,7 +90,7 @@ TEST_F(CmdLine, ModelListFail) EXPECT_NE(this->stdOutBuffer.str().find("Invalid URL"), std::string::npos) << this->stdOutBuffer.str(); - EXPECT_TRUE(this->stdErrBuffer.str().empty()); + EXPECT_TRUE(this->stdErrBuffer.str().empty()) << this->stdErrBuffer.str(); } /////////////////////////////////////////////////