From d446915ea4c02c3874d60067f88eb6492c1bf5df Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Tue, 27 Mar 2018 13:09:57 +0800 Subject: [PATCH] test: remove distro_version assert in distro detect test VERSION_ID is optional in /etc/os-release, we removed the error log in #17787, and the test also needs to be fixed. Signed-off-by: Shengjing Zhu --- src/test/common/test_util.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/common/test_util.cc b/src/test/common/test_util.cc index 288dd37db1d..64eace923c2 100644 --- a/src/test/common/test_util.cc +++ b/src/test/common/test_util.cc @@ -41,7 +41,6 @@ TEST(util, collect_sys_info) collect_sys_info(&sys_info, cct); ASSERT_TRUE(sys_info.find("distro") != sys_info.end()); - ASSERT_TRUE(sys_info.find("distro_version") != sys_info.end()); ASSERT_TRUE(sys_info.find("distro_description") != sys_info.end()); cct->put(); -- 2.47.3