Files
pysim/tests/pySim-shell_test/chv/test_manage_direct.template
Philipp Maier f87a00c04f 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
2024-09-20 17:53:27 +02:00

23 lines
416 B
Plaintext

set debug true
set echo true
# Enable PIN1
enable_chv $PIN1 > test_manage_direct.tmp
reset
# Change PIN1 to some arbitrary value
change_chv 1234 $PIN1 >> test_manage_direct.tmp
reset
# Verify PIN1
verify_chv 1234 >> test_manage_direct.tmp
reset
# Change PIN1 back to its original value
change_chv $PIN1 1234 >> test_manage_direct.tmp
reset
# Disable PIN1 again
disable_chv $PIN1 >> test_manage_direct.tmp
reset