Relax check on number of segments in a .so file
This check was not necessary since it is perfectly fine for a dso to
have any number of PT_LOAD segments, given that the number is > 0.
Bug: http://b/109747297
Test: make
Change-Id: I0e3b400fddf05ed7b9342bacbfffd3b578f26cf3
diff --git a/tests/dlext_test.cpp b/tests/dlext_test.cpp
index 9ed1a56..ec27932 100644
--- a/tests/dlext_test.cpp
+++ b/tests/dlext_test.cpp
@@ -1921,7 +1921,7 @@
// some sanity checks..
ASSERT_TRUE(addr_start > 0);
ASSERT_TRUE(addr_end > 0);
- ASSERT_EQ(3U, maps_to_copy.size());
+ ASSERT_TRUE(maps_to_copy.size() > 0);
ASSERT_TRUE(ns_get_dlopened_string_addr > addr_start);
ASSERT_TRUE(ns_get_dlopened_string_addr < addr_end);