]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/common/test_util.cc: FreeBSD does not have distro information 10547/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 2 Aug 2016 21:23:45 +0000 (23:23 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 23 Aug 2016 18:00:30 +0000 (20:00 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/common/test_util.cc

index 2ea40b3f1c5287d3686a7fae60023f86c7ae8665..288dd37db1dabe3a9fbb42474e4403e39a7de196 100644 (file)
@@ -32,6 +32,7 @@ TEST(util, unit_to_bytesize)
   ASSERT_EQ(65536ll, unit_to_bytesize(" 64K", &cerr));
 }
 
+#if defined(__linux__)
 TEST(util, collect_sys_info)
 {
   map<string, string> sys_info;
@@ -45,3 +46,4 @@ TEST(util, collect_sys_info)
 
   cct->put();
 }
+#endif