mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-18 03:18:34 +03:00
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:
@@ -0,0 +1,13 @@
|
||||
set debug true
|
||||
set echo true
|
||||
|
||||
# Create a backup the files we will modify
|
||||
export --filename MF/ADF.USIM/EF.IMSI > restore_ef_imsi.script.tmp
|
||||
|
||||
select MF/ADF.USIM/EF.IMSI
|
||||
update_binary 084941414141414141
|
||||
update_imsi_plmn 26242
|
||||
read_binary_decoded > ef_imsi.tmp
|
||||
|
||||
# Restore modified files to their original state
|
||||
run_script restore_ef_imsi.script.tmp
|
||||
Reference in New Issue
Block a user