From aee78f02b77708b8763cba5a8d2e755468471afa Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 6 Dec 2021 07:50:33 +0000 Subject: Import plainbox-provider-checkbox_0.61.0.orig.tar_gz --- bin/efi-pxeboot.py | 5 ++ bin/screenoff.sh | 3 +- bin/sof_ri_info.py | 167 ++++++++++++++++++++++++++++++++++++++-- manage.py | 2 +- units/bluetooth/jobs.pxu | 2 +- units/ethernet/jobs.pxu | 3 +- units/kernel-snap/test-plan.pxu | 1 - units/miscellanea/test-plan.pxu | 1 + units/touchscreen/jobs.pxu | 8 +- 9 files changed, 178 insertions(+), 14 deletions(-) diff --git a/bin/efi-pxeboot.py b/bin/efi-pxeboot.py index 52eace9..cfeee5d 100755 --- a/bin/efi-pxeboot.py +++ b/bin/efi-pxeboot.py @@ -141,6 +141,11 @@ def main(): "indicate a firmware") print("problem.") retval = 3 + if boot_current == "": + print("FAIL: The EFI BootCurrent variable is missing. This may " + "indicate a firmware") + print("problem.") + retval = 4 if (retval == 0): retval = is_pxe_booted(boot_entries, boot_order, boot_current) return(retval) diff --git a/bin/screenoff.sh b/bin/screenoff.sh index 8a565c7..0769e58 100755 --- a/bin/screenoff.sh +++ b/bin/screenoff.sh @@ -9,7 +9,8 @@ do sysfs="${line:9}" break fi - if [ "$name" = "AT Translated Set 2 keyboard" ]; then + if [ "$name" = "AT Translated Set 2 keyboard" ] || + [ "${name:0:26}" = "Logitech Wireless Keyboard" ]; then keyboard=1 else keyboard=0 diff --git a/bin/sof_ri_info.py b/bin/sof_ri_info.py index 638fa75..8d1272e 100755 --- a/bin/sof_ri_info.py +++ b/bin/sof_ri_info.py @@ -121,6 +121,39 @@ ICL_INTEL_PROD_KEY = bytes([0x63, 0xdf, 0x54, 0xe3, 0xc1, 0xe5, 0xd9, 0xd2, 0x5, 0x76, 0x1b, 0x44, 0x55, 0x75, 0xd9, 0x32, 0x35, 0xf1, 0xec, 0x4d, 0x93, 0x73, 0xe6, 0xc4]) +JSL_INTEL_PROD_KEY = bytes([0x6f, 0xe4, 0xd5, 0xc9, 0x52, 0xf4, 0x01, 0xc1, + 0x89, 0xc7, 0x2b, 0x16, 0x9b, 0xe6, 0x5d, 0x8e, + 0x91, 0x28, 0x63, 0x16, 0x4f, 0x7b, 0x18, 0x6e, + 0xa7, 0x89, 0x0c, 0xea, 0x24, 0x62, 0xc7, 0x94, + 0x75, 0x43, 0xfd, 0x6d, 0xa8, 0x67, 0x47, 0x36, + 0x50, 0xaf, 0x37, 0x46, 0x15, 0x82, 0x45, 0x4a, + 0xa3, 0x2e, 0xae, 0xa4, 0x1f, 0x92, 0x67, 0x4b, + 0x5e, 0x67, 0x7e, 0x02, 0xfc, 0x18, 0x6f, 0x68, + 0x0d, 0xe3, 0xc1, 0x00, 0xdf, 0xea, 0xed, 0x9f, + 0xdc, 0x61, 0xa0, 0xfd, 0x36, 0x61, 0x84, 0xa7, + 0x8c, 0x2a, 0x4b, 0x2c, 0x2d, 0xed, 0x8d, 0x0b, + 0x35, 0xe9, 0x79, 0x59, 0x3f, 0x22, 0xdc, 0x3c, + 0xd4, 0x43, 0x32, 0x22, 0xf0, 0xda, 0x0d, 0xa1, + 0x3a, 0xec, 0x47, 0x87, 0x5e, 0xa0, 0xd2, 0xaa, + 0xf8, 0x1c, 0x61, 0x08, 0x05, 0x64, 0xb4, 0xa8, + 0x75, 0xc8, 0x20, 0x34, 0xbf, 0x04, 0x10, 0x75, + 0x8c, 0xb7, 0x6d, 0x49, 0xde, 0x3d, 0x3c, 0x66, + 0x08, 0xfe, 0x67, 0xc8, 0x77, 0x04, 0x7c, 0xa5, + 0xf0, 0x9e, 0xe7, 0x5e, 0x70, 0xbf, 0xde, 0xf1, + 0xcb, 0x1c, 0xc0, 0x84, 0x4a, 0x89, 0x76, 0x37, + 0x4f, 0xad, 0x3b, 0x8f, 0x04, 0x91, 0xd0, 0x1b, + 0x0b, 0xa8, 0x20, 0x6e, 0x1e, 0x97, 0x1e, 0xff, + 0x1f, 0xef, 0xde, 0x7a, 0xd7, 0x93, 0x3c, 0xa9, + 0x46, 0xe5, 0x74, 0x66, 0x9c, 0x85, 0xfa, 0xaa, + 0x4a, 0xe4, 0x39, 0xc5, 0x33, 0xbb, 0x8e, 0xca, + 0x1f, 0xd9, 0x4c, 0xbc, 0xcd, 0x7c, 0xa1, 0x30, + 0xdb, 0x15, 0xed, 0xa1, 0x24, 0x9d, 0xcb, 0xf0, + 0xbe, 0xeb, 0x92, 0x60, 0xb0, 0xab, 0x60, 0xa0, + 0xcc, 0xd8, 0x04, 0xf9, 0xf1, 0xa0, 0x04, 0x98, + 0x6a, 0x20, 0xd8, 0x86, 0xff, 0xd4, 0x9d, 0x09, + 0xa1, 0x22, 0xce, 0x0a, 0x3e, 0x21, 0x27, 0xcd, + 0xf8, 0x7c, 0xb0, 0x09, 0x09, 0xc2, 0xa3, 0xcc]) + TGL_INTEL_PROD_KEY = bytes([0xd3, 0x72, 0x92, 0x99, 0x4e, 0xb9, 0xcd, 0x67, 0x41, 0x86, 0x16, 0x77, 0x35, 0xa1, 0x34, 0x85, 0x43, 0x96, 0xd9, 0x53, 0x76, 0x4d, 0xd0, 0x63, @@ -170,6 +203,55 @@ TGL_INTEL_PROD_KEY = bytes([0xd3, 0x72, 0x92, 0x99, 0x4e, 0xb9, 0xcd, 0x67, 0xe7, 0x51, 0x42, 0x59, 0x56, 0xa, 0x1c, 0xf, 0x5d, 0x62, 0x4a, 0x80, 0x96, 0x31, 0xf8, 0xb5]) +EHL_INTEL_PROD_KEY = bytes([0xb5, 0xb0, 0xe2, 0x25, 0x3d, 0xc7, 0x54, 0x10, + 0xde, 0x3c, 0xc9, 0x24, 0x97, 0x74, 0xbc, 0x02, + 0x7d, 0x0b, 0xd6, 0x61, 0x2e, 0x35, 0x65, 0xed, + 0x78, 0xf6, 0x85, 0x73, 0x1f, 0x8c, 0xda, 0x8f, + 0x50, 0x79, 0xc7, 0x0c, 0x9e, 0xb4, 0x09, 0x3b, + 0xfc, 0x2e, 0x4e, 0xf3, 0x46, 0xfe, 0x3f, 0x20, + 0x9d, 0x8d, 0xf6, 0x3e, 0xc3, 0x46, 0x92, 0xf9, + 0xce, 0xbb, 0x7d, 0x0b, 0xb3, 0x45, 0x35, 0x76, + 0xbe, 0x19, 0x87, 0x21, 0x6c, 0x79, 0xfa, 0xf4, + 0xc8, 0x8e, 0x07, 0x26, 0x03, 0x0d, 0xe9, 0xe3, + 0x1e, 0x61, 0x7c, 0xd1, 0x45, 0x10, 0x61, 0x1c, + 0x79, 0x3f, 0x10, 0xa9, 0x42, 0x60, 0x2c, 0x7a, + 0x7a, 0x89, 0x1b, 0x54, 0xda, 0x0e, 0x54, 0x08, + 0x30, 0x0f, 0x6e, 0x37, 0xea, 0xb7, 0x58, 0xa0, + 0xaf, 0x4a, 0x94, 0x2c, 0x43, 0x50, 0x74, 0xed, + 0x16, 0xdc, 0x11, 0xa1, 0xd3, 0x6e, 0x54, 0xa6, + 0x56, 0xf9, 0x40, 0x8c, 0x3f, 0xa3, 0x74, 0xae, + 0x4f, 0x48, 0xc8, 0x79, 0x30, 0x5a, 0x99, 0x79, + 0x26, 0xe1, 0x52, 0x9b, 0xfe, 0x9e, 0xaf, 0x96, + 0xcc, 0xe6, 0x9a, 0x53, 0x2e, 0xe4, 0x40, 0xcc, + 0xad, 0x19, 0x8e, 0x23, 0x53, 0x63, 0xc8, 0xfd, + 0x96, 0xeb, 0x27, 0x9b, 0x3e, 0x49, 0x0d, 0x90, + 0xb0, 0x67, 0xb4, 0x05, 0x4a, 0x55, 0x5b, 0xb0, + 0xa5, 0x68, 0xb8, 0x60, 0xa4, 0x81, 0x6a, 0x3e, + 0x8c, 0xbc, 0x29, 0xcd, 0x85, 0x45, 0x3c, 0xf4, + 0x86, 0xf8, 0x9b, 0x69, 0xb5, 0xc5, 0xb9, 0xaa, + 0xc8, 0xed, 0x7d, 0x70, 0x45, 0xb6, 0xf6, 0x5b, + 0x48, 0x62, 0xf6, 0x68, 0xe8, 0xdd, 0x79, 0xda, + 0xb0, 0xe9, 0x3c, 0x8f, 0x01, 0x92, 0x80, 0x73, + 0x89, 0x7d, 0x9a, 0xaf, 0x31, 0x85, 0x75, 0x7c, + 0x89, 0xf3, 0x6c, 0x77, 0x95, 0x5b, 0xa9, 0xc5, + 0xe1, 0x33, 0xe0, 0x44, 0x81, 0x7e, 0x72, 0xa5, + 0xbb, 0x3d, 0x40, 0xb7, 0xc9, 0x77, 0xd8, 0xc3, + 0xe3, 0xef, 0x42, 0xae, 0x57, 0x91, 0x63, 0x0c, + 0x26, 0xac, 0x5e, 0x10, 0x51, 0x28, 0xe6, 0x61, + 0xad, 0x4d, 0xc4, 0x93, 0xb2, 0xe0, 0xb4, 0x31, + 0x60, 0x5a, 0x97, 0x0e, 0x80, 0x86, 0x91, 0xc9, + 0xcd, 0xfc, 0x97, 0xc3, 0x78, 0xbd, 0xca, 0xce, + 0xd3, 0x96, 0xee, 0x75, 0x81, 0xe0, 0x8b, 0x45, + 0x8e, 0x20, 0x4b, 0x98, 0x31, 0x0f, 0xf9, 0x66, + 0xb3, 0x04, 0xb7, 0x0d, 0xde, 0x68, 0x1e, 0x2a, + 0xe4, 0xec, 0x45, 0x2a, 0x0a, 0x24, 0x81, 0x82, + 0xcb, 0x86, 0xa0, 0x61, 0x7f, 0xe7, 0x96, 0x84, + 0x4b, 0x30, 0xc4, 0x7d, 0x5c, 0x1b, 0x2c, 0x1e, + 0x66, 0x68, 0x71, 0x1d, 0x39, 0x6c, 0x23, 0x07, + 0x6d, 0xf3, 0x3e, 0x64, 0xc3, 0x03, 0x97, 0x84, + 0x14, 0xd1, 0xf6, 0x50, 0xf4, 0x32, 0x5d, 0xae, + 0xad, 0x23, 0x46, 0x0c, 0x9f, 0xfc, 0x3e, 0xb9]) + COMMUNITY_KEY = bytes([0x85, 0x00, 0xe1, 0x68, 0xaa, 0xeb, 0xd2, 0x07, 0x1b, 0x7c, 0x5e, 0xed, 0xd6, 0xe7, 0xe5, 0xf9, 0xc1, 0x0e, 0x47, 0xd4, 0x4c, 0xab, 0x8c, 0xf0, @@ -203,11 +285,63 @@ COMMUNITY_KEY = bytes([0x85, 0x00, 0xe1, 0x68, 0xaa, 0xeb, 0xd2, 0x07, 0x3f, 0x82, 0x8f, 0xe5, 0x28, 0x4d, 0xdb, 0xb5, 0x5a, 0x96, 0x28, 0x27, 0x19, 0xaf, 0x43, 0xb9]) +COMMUNITY_KEY2 = bytes([0x6b, 0x75, 0xed, 0x58, 0x20, 0x08, 0x85, 0x95, + 0xa0, 0x49, 0x8b, 0x9e, 0xbd, 0x5f, 0x34, 0x82, + 0x0a, 0x9d, 0x1e, 0x9a, 0xb6, 0x76, 0x43, 0x19, + 0xb7, 0x76, 0x45, 0x5b, 0x59, 0xab, 0xbb, 0xf3, + 0x9e, 0x72, 0xf2, 0x41, 0x24, 0x92, 0x97, 0xef, + 0x39, 0xc0, 0xed, 0xc4, 0x7a, 0x4e, 0xdb, 0xec, + 0xeb, 0xc7, 0x4c, 0xf6, 0x45, 0xbe, 0xb2, 0xe0, + 0x13, 0x6a, 0xdc, 0x06, 0x7a, 0x1c, 0xbd, 0x8d, + 0xd8, 0xd2, 0xd7, 0x82, 0x6d, 0xbe, 0x03, 0x76, + 0x3b, 0x6b, 0xb8, 0x2f, 0xcc, 0xbe, 0x30, 0x56, + 0x61, 0x87, 0x09, 0xdf, 0x44, 0x51, 0xf8, 0x82, + 0xc5, 0x78, 0x05, 0x45, 0x8c, 0xe3, 0x78, 0x0e, + 0xd3, 0x7a, 0xd4, 0xf4, 0xbe, 0x96, 0xde, 0xb8, + 0x3b, 0x78, 0x90, 0x8b, 0xd3, 0xdd, 0x0b, 0xdd, + 0xbe, 0x56, 0xf3, 0x9a, 0x34, 0xc9, 0x38, 0x47, + 0x8d, 0xc4, 0xbd, 0x5e, 0x68, 0xf8, 0x62, 0xc4, + 0x28, 0xdd, 0x00, 0x48, 0x93, 0xb5, 0xad, 0x74, + 0x52, 0xe5, 0xf3, 0xd2, 0x97, 0xde, 0xbc, 0x0a, + 0x85, 0x95, 0xe9, 0xfa, 0xd2, 0xac, 0xdc, 0xdc, + 0x59, 0x74, 0xfa, 0x57, 0xf2, 0xd3, 0x61, 0xc6, + 0x2b, 0x26, 0xde, 0x57, 0x50, 0xe2, 0x58, 0x6b, + 0x79, 0x65, 0x0b, 0x49, 0x2c, 0x59, 0x28, 0x25, + 0x64, 0x31, 0x93, 0x65, 0x9a, 0x0a, 0x88, 0x98, + 0x9a, 0x77, 0x00, 0x47, 0x8f, 0xa0, 0xc7, 0x6b, + 0x58, 0x90, 0xa9, 0xb5, 0x15, 0xff, 0x65, 0x7c, + 0x84, 0x02, 0xd4, 0xdd, 0x09, 0xf1, 0x25, 0xad, + 0xf9, 0x30, 0xaa, 0x34, 0x5b, 0x77, 0xef, 0xb2, + 0x75, 0x3d, 0x54, 0x9d, 0xcc, 0x0d, 0x11, 0xda, + 0x91, 0x01, 0x2e, 0x51, 0xdc, 0x0c, 0x8a, 0x92, + 0x71, 0x44, 0x9a, 0xd5, 0x69, 0x5d, 0x7a, 0xad, + 0xaf, 0xdf, 0x25, 0xea, 0x95, 0x21, 0xbb, 0x99, + 0x53, 0x89, 0xbc, 0x54, 0xca, 0xf3, 0x54, 0xf5, + 0xbb, 0x38, 0x27, 0x64, 0xce, 0xf2, 0x17, 0x25, + 0x75, 0x33, 0x1a, 0x2d, 0x19, 0x00, 0xff, 0x9b, + 0xd9, 0x4d, 0x0c, 0xb1, 0xa5, 0x55, 0x55, 0xa9, + 0x29, 0x8e, 0xfb, 0x82, 0x43, 0xeb, 0xfa, 0xc8, + 0x33, 0x76, 0xf3, 0x7d, 0xee, 0x95, 0xe1, 0x39, + 0xba, 0xa5, 0x4a, 0xd5, 0xb1, 0x8a, 0xa6, 0xff, + 0x8f, 0x4b, 0x45, 0x8c, 0xe9, 0x7b, 0x87, 0xae, + 0x8d, 0x32, 0x6e, 0x16, 0xe7, 0x9e, 0x85, 0x22, + 0x71, 0x3d, 0x17, 0xba, 0x54, 0xed, 0x73, 0x87, + 0xe5, 0x9d, 0xbf, 0xc0, 0xcd, 0x76, 0xfa, 0x83, + 0xd4, 0xc5, 0x30, 0xd1, 0xc7, 0x25, 0x49, 0x25, + 0x75, 0x4d, 0x0a, 0x4a, 0x2d, 0x13, 0x1c, 0x12, + 0x2e, 0x5d, 0x2a, 0xe2, 0xa9, 0xae, 0xbf, 0x8f, + 0xdf, 0x24, 0x76, 0xf5, 0x81, 0x1e, 0x09, 0x5d, + 0x63, 0x04, 0xaf, 0x24, 0x45, 0x87, 0xf4, 0x96, + 0x55, 0xd1, 0x7d, 0xc6, 0x0d, 0x79, 0x12, 0xa9]) + KNOWN_KEYS = {APL_INTEL_PROD_KEY: 'APL Intel prod key', CNL_INTEL_PROD_KEY: 'CNL Intel prod key', ICL_INTEL_PROD_KEY: 'ICL Intel prod key', + JSL_INTEL_PROD_KEY: 'JSL Intel prod key', TGL_INTEL_PROD_KEY: 'TGL Intel prod key', - COMMUNITY_KEY: 'Community key'} + EHL_INTEL_PROD_KEY: 'EHL Intel prod key', + COMMUNITY_KEY: 'Community key', + COMMUNITY_KEY2: 'Community 3k key'} def parse_params(): @@ -1327,21 +1461,44 @@ ICL_MEMORY_SPACE = DspMemory('Intel Icelake', 'l2 lpsram', 0xbe800000, 1*64*1024) ]) -TGL_MEMORY_SPACE = DspMemory('Intel Tigerlake', +TGL_LP_MEMORY_SPACE = DspMemory('Intel Tigerlake-LP', + [ + DspMemorySegment( + 'imr', 0xb0000000, 16*1024*1024), + DspMemorySegment( + 'l2 hpsram', 0xbe000000, 46*64*1024), + DspMemorySegment( + 'l2 lpsram', 0xbe800000, 1*64*1024) + ]) + +JSL_MEMORY_SPACE = DspMemory('Intel Jasperlake', [ DspMemorySegment( - 'imr', 0xb0000000, 16*1024*1024), + 'imr', 0xb0000000, 8*1024*1024), DspMemorySegment( - 'l2 hpsram', 0xbe000000, 46*64*1024), + 'l2 hpsram', 0xbe000000, 16*64*1024), DspMemorySegment( 'l2 lpsram', 0xbe800000, 1*64*1024) ]) +TGL_H_MEMORY_SPACE = DspMemory('Intel Tigerlake-H', + [ + DspMemorySegment( + 'imr', 0xb0000000, 16*1024*1024), + DspMemorySegment( + 'l2 hpsram', 0xbe000000, 30*64*1024), + DspMemorySegment( + 'l2 lpsram', 0xbe800000, 1*64*1024) + ]) + DSP_MEM_SPACE_EXT = { 'apl': APL_MEMORY_SPACE, 'cnl': CNL_MEMORY_SPACE, 'icl': ICL_MEMORY_SPACE, - 'tgl': TGL_MEMORY_SPACE + 'tgl': TGL_LP_MEMORY_SPACE, + 'jsl': JSL_MEMORY_SPACE, + 'tgl-h': TGL_H_MEMORY_SPACE, + 'ehl': TGL_LP_MEMORY_SPACE, } diff --git a/manage.py b/manage.py index c589b52..c471397 100755 --- a/manage.py +++ b/manage.py @@ -5,7 +5,7 @@ from plainbox.provider_manager import N_ setup( name='plainbox-provider-checkbox', namespace='com.canonical.certification', - version="0.60.0", + version="0.61.0", description=N_("Checkbox provider"), gettext_domain='plainbox-provider-checkbox', strict=False, deprecated=False, diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index e1573b5..7f3fb79 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -7,7 +7,7 @@ command: bt_list_adapters.py && udev_resource.py -f BLUETOOTH estimated_duration: 2s flags: preserve-locale -requires: manifest.has_bt_adapter +requires: manifest.has_bt_adapter == 'True' imports: from com.canonical.plainbox import manifest id: bluetooth/bluez-controller-detect diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 89565bf..244cca6 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -301,7 +301,8 @@ plugin: user-interact command: eth_hotplugging.py {{ interface }} && gateway_ping_test.py -v --interface {{ interface }} category_id: com.canonical.plainbox::ethernet -estimated_duration: 1.0 +estimated_duration: 60.0 +user: root flags: preserve-locale unit: template diff --git a/units/kernel-snap/test-plan.pxu b/units/kernel-snap/test-plan.pxu index 585bd01..ffaa5d1 100644 --- a/units/kernel-snap/test-plan.pxu +++ b/units/kernel-snap/test-plan.pxu @@ -14,7 +14,6 @@ _name: Automated Kernel Snap tests _description: Automated Kernel Snap tests for Ubuntu Core devices include: kernel-snap/booted-kernel-matches-current-.* - kernel-snap/booted-dtbs-match-current-.* bootstrap_include: bootloader diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu index 1c7605a..a48e80f 100644 --- a/units/miscellanea/test-plan.pxu +++ b/units/miscellanea/test-plan.pxu @@ -67,6 +67,7 @@ mandatory_include: miscellanea/get_maas_version certification-status=blocker miscellanea/maas_user_check miscellanea/efi_boot_mode certification-status=blocker + miscellanea/secure_boot_mode miscellanea/reboot_firmware miscellanea/efi_pxeboot miscellanea/check_prerelease certification-status=blocker diff --git a/units/touchscreen/jobs.pxu b/units/touchscreen/jobs.pxu index 060e0c6..deb16d4 100644 --- a/units/touchscreen/jobs.pxu +++ b/units/touchscreen/jobs.pxu @@ -141,7 +141,7 @@ _description: Validate that 3-touch tap is operating as expected STEPS: 1. Commence the test - {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} + {%- if 'Unity' in __system_env__.get("XDG_CURRENT_DESKTOP", "") %} 2. Tap the screen within the test area with 3 fingers simultaneously. 3. Once 3 fingers are on the screen you should see the indicator they are recognized. VERIFICATION: @@ -153,7 +153,7 @@ _description: Was the tap detected? {% endif %} command: - {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} + {%- if 'Unity' in __system_env__.get("XDG_CURRENT_DESKTOP", "") %} manage_compiz_plugin.py unityshell disable qmlscene -qt5 3 "$PLAINBOX_PROVIDER_DATA"/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? @@ -178,7 +178,7 @@ _description: Validate that 4-touch tap is operating as expected STEPS: 1. Commence the test - {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} + {%- if 'Unity' in __system_env__.get("XDG_CURRENT_DESKTOP", "") %} 2. Tap the screen within the test area with 4 fingers simultaneously. 3. Once 4 fingers are on the screen you should see the indicator they are recognized. VERIFICATION: @@ -188,7 +188,7 @@ _description: 3. If the tap is not detected the test will time out after 20 seconds. {% endif %} command: - {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} + {%- if 'Unity' in __system_env__.get("XDG_CURRENT_DESKTOP", "") %} manage_compiz_plugin.py unityshell disable qmlscene -qt5 4 "$PLAINBOX_PROVIDER_DATA"/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? -- cgit v1.2.3