Merge ~andch/plainbox-provider-pc-sanity:check-fingerprint-device into plainbox-provider-pc-sanity:master
Status: | Needs review |
---|---|
Proposed branch: | ~andch/plainbox-provider-pc-sanity:check-fingerprint-device |
Merge into: | plainbox-provider-pc-sanity:master |
Diff against target: |
89 lines (+59/-0) 3 files modified
bin/detect-fingerprint.sh (+46/-0) units/pc-sanity/pc-sanity-fingerprint.pxu (+11/-0) units/pc-sanity/pc-sanity.pxu (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
jeremyszu (community) | Needs Fixing | ||
Alex Tu | Pending | ||
Kai-Chuan Hsieh | Pending | ||
OEM Solutions Group: Engineers | Pending | ||
Review via email: mp+416203@code.qastaging.launchpad.net |
Commit message
Add test case to check if USB fingerprint device is supported in upstream and ubuntu release libfprint or not.
Test on Synaptics DUT.
Case 1: Upstream supported but not in ubuntu release package
Category: com.canonical.
... 8< -------
--2022-03-01 22:56:41-- https:/
Resolving raw.githubuserc
Connecting to raw.githubuserc
HTTP request sent, awaiting response... 200 OK
Length: 5720 (5.6K) [text/plain]
Saving to: ‘/tmp/autosuspe
0K ..... 100% 37.4M=0s
2022-03-01 22:56:41 (37.4 MB/s) - ‘/tmp/autosuspe
Device ID 06cbp00f0 is supported in upstream
Please start SRU process to land the ID into current Release version
-------
Outcome: job failed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☑ : Collect information about installed software packages
☒ : Check USB fingerprint device is supported or not.
Case 2: upstream supported and also ubuntu release package
--2022-03-01 22:58:20-- https:/
Resolving raw.githubuserc
Connecting to raw.githubuserc
HTTP request sent, awaiting response... 200 OK
Length: 5720 (5.6K) [text/plain]
Saving to: ‘/tmp/autosuspe
0K ..... 100% 36.8M=0s
2022-03-01 22:58:21 (36.8 MB/s) - ‘/tmp/autosuspe
Device ID 27c6p63ac is supported in upstream
ID is supported in current libfprint
-------
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☑ : Collect information about installed software packages
☑ : Check USB fingerprint device is supported or not.
Please also ensure the variable is there before use.