From: Shengjing Zhu Date: Tue, 27 Mar 2018 05:09:57 +0000 (+0800) Subject: test: remove distro_version assert in distro detect test X-Git-Tag: v13.1.0~474^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d446915ea4c02c3874d60067f88eb6492c1bf5df;p=ceph.git 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 --- diff --git a/src/test/common/test_util.cc b/src/test/common/test_util.cc index 288dd37db1da..64eace923c20 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();