Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88990e68 authored by jack.cc-hsu's avatar jack.cc-hsu Committed by Hongguang Chen
Browse files

Update nodeNamePattern rule

Include '_' which has always been allowed.

Bug: 158645317
Test: VtsHalMediaOmxV1_0TargetMasterTest : OK
Change-Id: Ia1cfc6004961ffad76843920fe4d5423f70244e7
parent 074d9041
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;