utils: Make loader more lenient
Loaded modules tend to be unversioned, so we shouldn't enforce that they
have a version suffix.
Change-Id: I9e7a02ea841b7c0634c84718c46707f087ee86ae
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/utils_unittest.cpp b/test/utils_unittest.cpp
index ba3c93f..cba8ee2 100644
--- a/test/utils_unittest.cpp
+++ b/test/utils_unittest.cpp
@@ -93,8 +93,8 @@
{"libblobcmds.0.0.1", false}, {"libblobcmds.0.0", false},
{"libblobcmds.0", false}, {"libblobcmds.10", false},
{"libblobcmds.a", false}, {"libcmds.so.so.0", true},
- {"libcmds.so.0", true}, {"libcmds.so.0.0", false},
- {"libcmds.so.0.0.10", false}, {"libblobs.so.1000", true}};
+ {"libcmds.so.0", true}, {"libcmds.so", true},
+ {"libcmds.so.0.0.10", true}, {"libblobs.so.1000", true}};
for (const auto& test : tests)
{