Add testsuite for pySim-shell with real cards

This patch adds a comprehensive testsuite for pySim-shell. The testsuite
is based on python's unittest framework in combination with pySim-shell
scripts.

Related: OS#6531
Change-Id: Ieae1330767a6e55e62437f5f988a0d33b727b5de
This commit is contained in:
Philipp Maier
2024-08-12 17:56:43 +02:00
parent d7032955c5
commit f87a00c04f
114 changed files with 22424 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
{
"file_descriptor": {
"file_descriptor_byte": {
"shareable": true,
"file_type": "working_ef",
"structure": "transparent"
},
"record_len": null,
"num_of_rec": null
},
"file_identifier": "6f7e",
"proprietary_information": {
"unknown_ber_tlv_ie_d0": {
"raw": "20"
},
"toolkit_access_conditions": {
"rfm_create": true,
"rfm_delete_terminate": true,
"other_applet_create": true,
"other_applet_delete_terminate": true
}
},
"life_cycle_status_integer": "operational_activated",
"security_attrib_referenced": {
"ef_arr_file_id": "6f06",
"ef_arr_record_nr": 4
},
"file_size": 11,
"short_file_identifier": 11
}
{
"file_descriptor": {
"file_descriptor_byte": {
"shareable": true,
"file_type": "working_ef",
"structure": "transparent"
},
"record_len": null,
"num_of_rec": null
},
"file_identifier": "6f7e",
"proprietary_information": {
"unknown_ber_tlv_ie_d0": {
"raw": "20"
},
"toolkit_access_conditions": {
"rfm_create": true,
"rfm_delete_terminate": true,
"other_applet_create": true,
"other_applet_delete_terminate": true
}
},
"life_cycle_status_integer": "operational_deactivated",
"security_attrib_referenced": {
"ef_arr_file_id": "6f06",
"ef_arr_record_nr": 4
},
"file_size": 11,
"short_file_identifier": 11
}
{
"file_descriptor": {
"file_descriptor_byte": {
"shareable": true,
"file_type": "working_ef",
"structure": "transparent"
},
"record_len": null,
"num_of_rec": null
},
"file_identifier": "6f7e",
"proprietary_information": {
"unknown_ber_tlv_ie_d0": {
"raw": "20"
},
"toolkit_access_conditions": {
"rfm_create": true,
"rfm_delete_terminate": true,
"other_applet_create": true,
"other_applet_delete_terminate": true
}
},
"life_cycle_status_integer": "operational_activated",
"security_attrib_referenced": {
"ef_arr_file_id": "6f06",
"ef_arr_record_nr": 4
},
"file_size": 11,
"short_file_identifier": 11
}