sysmo-usim-tool/tests
Philipp Maier 75342b86d1 tests/run-tests: Prepare test card before executing the tests
All tests need a physical card to be inserted in a reader. This card may
have a different IMSI and/or ICCID id set than the one that is expected
by the tests. Since sysmo-usim-tool.sjs1.py unconditionally displays
IMSI and ICCID we find those parameters in every .out file.

In order to run the unit-tests without changing the .out files very often
or having to manually prepare a test card we should write the expected
IMSI and ICCID before each testsuite is executed.

- Add a script to the testsuite that prepares the testcard, run this
  script from run-tests before the actual tests are executed.

Change-Id: I470f4f7d5facab277b6e78252bac7cc4d1fbc6bb
Related: OS#3376
2018-08-08 12:30:13 +02:00
..
01_auth.out Add testsuite 2017-08-16 23:16:17 +02:00
01_auth.sh Add testsuite 2017-08-16 23:16:17 +02:00
02_mode_read.out Add testsuite 2017-08-16 23:16:17 +02:00
02_mode_read.sh Add testsuite 2017-08-16 23:16:17 +02:00
03_mode_write.out Add testsuite 2017-08-16 23:16:17 +02:00
03_mode_write.sh Add testsuite 2017-08-16 23:16:17 +02:00
04_algo.out tests/04_algo: Update .out file 2018-08-08 12:29:26 +02:00
04_algo.sh tests/04_algo.sh: Fix string concatenation. 2018-08-08 12:28:22 +02:00
05_milenage_par.out tests/05_milenage_par: Extend unit test 2018-08-08 12:30:13 +02:00
05_milenage_par.sh tests/05_milenage_par: Extend unit test 2018-08-08 12:30:13 +02:00
06_op_opc.out Add testsuite 2017-08-16 23:16:17 +02:00
06_op_opc.sh Add testsuite 2017-08-16 23:16:17 +02:00
07_ki.out Add testsuite 2017-08-16 23:16:17 +02:00
07_ki.sh Add testsuite 2017-08-16 23:16:17 +02:00
08_seq.out tests/08_seq: Test resetting of SEQ/SQN 2018-08-08 12:30:13 +02:00
08_seq.sh tests/08_seq: Test resetting of SEQ/SQN 2018-08-08 12:30:13 +02:00
prepare tests/run-tests: Prepare test card before executing the tests 2018-08-08 12:30:13 +02:00
run-tests tests/run-tests: Prepare test card before executing the tests 2018-08-08 12:30:13 +02:00
test-data Add testsuite 2017-08-16 23:16:17 +02:00