Update nodeNamePattern rule

Include '_' which has always been allowed.

Bug: 158645317
Test: VtsHalMediaOmxV1_0TargetMasterTest : OK
Change-Id: Ia1cfc6004961ffad76843920fe4d5423f70244e7
This commit is contained in:
jack.cc-hsu
2020-07-08 15:44:38 +08:00
committed by Hongguang Chen
parent 074d9041e0
commit 88990e687c

View File

@@ -251,7 +251,7 @@ TEST_P(MasterHidlTest, ListRoles) {
};
// Matching rules for node names and owners
const testing::internal::RE nodeNamePattern = "[a-zA-Z0-9.-]+";
const testing::internal::RE nodeNamePattern = "[a-zA-Z0-9._-]+";
const testing::internal::RE nodeOwnerPattern = "[a-zA-Z0-9._-]+";
std::set<const std::string> roleKeys;