tests: add a script to regenerate .out files for tests

Currently all the .out files need to be regenerated by hand. Lets add a
script for this to make things easier
This commit is contained in:
Philipp Maier 2019-11-04 14:50:17 +01:00
parent 70b7fcde40
commit b15d23459b
1 changed files with 16 additions and 0 deletions

16
tests/regen Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
echo "Regenerating test output..."
./01_auth.sh > ./01_auth.out
./02_mode_read.sh > ./02_mode_read.out
./03_mode_write.sh > ./03_mode_write.out
./04_algo.sh > ./04_algo.out
./05_milenage_par.sh > ./05_milenage_par.out
./06_op_opc.sh > ./06_op_opc.out
./07_ki.sh > ./07_ki.out
./08_seq.sh > ./08_seq.out
./09_mnclen.sh > ./09_mnclen.out
echo "Reference output regenerated!"
echo ""