At the moment we only read the milenage parameters but we do not write them. Lets extend the unit test so that we test writing as well. Change-Id: I81dd27b3e65510db931188171093f0e909cde16f Related: OS#3376for/master/mnclen
parent
6868ea7c26
commit
050231d86c
@ -1,5 +1,24 @@
|
||||
#!/bin/sh
|
||||
. ./test-data
|
||||
|
||||
# we only test reading here
|
||||
# Write and reread with test data
|
||||
C1="1234567890ABCDEF1234567890ABCDEF"
|
||||
C2="F1234567890ABCDEF1234567890ABCDE"
|
||||
C3="EF1234567890ABCDEF1234567890ABCD"
|
||||
C4="DEF1234567890ABCDEF1234567890ABC"
|
||||
C5="CDEF1234567890ABCDEF1234567890AB"
|
||||
R12345="AA:BB:CC:DD:EE"
|
||||
PARAMS=$C1$C2$C3$C4$C5$R12345
|
||||
$TOOL -a $ADMPIN -L $PARAMS
|
||||
$TOOL -a $ADMPIN -l
|
||||
|
||||
# Write and reread with factory defaults
|
||||
C1="00000000000000000000000000000000"
|
||||
C2="00000000000000000000000000000001"
|
||||
C3="00000000000000000000000000000002"
|
||||
C4="00000000000000000000000000000004"
|
||||
C5="00000000000000000000000000000008"
|
||||
R12345="40:00:20:40:60"
|
||||
PARAMS=$C1$C2$C3$C4$C5$R12345
|
||||
$TOOL -a $ADMPIN -L $PARAMS
|
||||
$TOOL -a $ADMPIN -l
|
||||
|
Loading…
Reference in new issue