diff options
| author | 2023-06-26 22:25:00 -0700 | |
|---|---|---|
| committer | 2023-06-28 02:41:52 +0000 | |
| commit | 5a1d0cc3454094a930978bcac1281aafc71475d3 (patch) | |
| tree | 7194f76559abed7f7b682602017e6eabffc9912e /wifi/java/src | |
| parent | 37ccbe7384aafb930c7f4cecf45992062f0adae5 (diff) | |
Deduplicate test expectation data in a different way
The test collects expected APEX package names from listing /apex by a
shell command. The shell command also tries to remove the noise
(normally an APEX has two entires, see below).
$ ls -d /apex/*/
/apex/com.android.adbd/
/apex/com.android.adbd@340815002/
...
/apex/com.google.mainline.primary.libs@340716000/
/apex/sharedlibs/
The test used to deduplicate by filtering out '@'. But apparently an
(DLCA) APEX only has one entry with '@'.
With this change, the shell command removes '@\d+' then deduplicate the
strings.
Bug: 288551133
Test: BinaryTransparencyHostTest#testCollectAllApexInfo
Change-Id: I4bc3e8226dd7790aa276ac5dfad7371c60046384
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions