diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-06 00:36:07 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-01-06 00:51:28 +0100 |
commit | 1ba9938837a726580728c64bdd77d9676c98a020 (patch) | |
tree | 4ecc60bfbced15c94e20f92c0d9245bc44904a64 /unittest/test3.cc | |
parent | 2c52393d12dbb16ce1d643cf020aff964da6ec89 (diff) | |
download | libnitrokey-1ba9938837a726580728c64bdd77d9676c98a020.tar.gz libnitrokey-1ba9938837a726580728c64bdd77d9676c98a020.tar.bz2 |
test_pro: Extend test_get_status test case
This patch extends the test_get_status test case to check the content of
the returned status struct. The firmware version, serial number and
config should match the values returned by the NK_*_firmware_version,
NK_device_serial_number and NK_read_config functions.
This does not work for the Nitrokey Storage, which will be fixed in the
next patch.
Diffstat (limited to 'unittest/test3.cc')
0 files changed, 0 insertions, 0 deletions