summaryrefslogtreecommitdiffstats
path: root/tests/osmo-auc-gen/osmo-auc-gen_test.err
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-08-26 21:38:51 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-29 12:46:45 +0000
commitb1af6ef1646c54f429f7b87778d92d139c0e3336 (patch)
tree6372e127c98864b4f7f70ab63d3a98357ae0f856 /tests/osmo-auc-gen/osmo-auc-gen_test.err
parent3cb08277f1d46c6c74c4bb6e254a57ffb9ac3834 (diff)
osmo-auc-gen: umts: add --ind-len arg
osmo-auc-gen so far does not allow indicating the IND bit length of SQN. A default of 5 serves most practical cases, nevertheless we should allow passing arbitrary IND lengths. Enhance the test suite to test --ind-len. Related: OS#2465 Change-Id: Ia1d8b6a823ffc92290b3e39e4e4665aeff80ccc0
Diffstat (limited to 'tests/osmo-auc-gen/osmo-auc-gen_test.err')
-rw-r--r--tests/osmo-auc-gen/osmo-auc-gen_test.err3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/osmo-auc-gen/osmo-auc-gen_test.err b/tests/osmo-auc-gen/osmo-auc-gen_test.err
index 46ecf2ef..d9b54850 100644
--- a/tests/osmo-auc-gen/osmo-auc-gen_test.err
+++ b/tests/osmo-auc-gen/osmo-auc-gen_test.err
@@ -7,3 +7,6 @@ Requested --ind 32 is too large for IND bitlen of 5
expecting error:
> osmo-auc-gen -3 -a milenage -r 39fa2f4e3d523d8619a73b4f65c3e14d -k EB215756028D60E3275E613320AEC880 -o FB2A3D1B360F599ABAB99DB8669F8308 -A 979498b1f72d3e28c59fa2e72f9c --ind 42
Requested --ind 42 is too large for IND bitlen of 5
+expecting error:
+> osmo-auc-gen -3 -a milenage -r 39fa2f4e3d523d8619a73b4f65c3e14d -k EB215756028D60E3275E613320AEC880 -o FB2A3D1B360F599ABAB99DB8669F8308 -A 979498b1f72d3e28c59fa2e72f9c --ind-len 0 --ind 1
+Requested --ind 1 is too large for IND bitlen of 0