aboutsummaryrefslogtreecommitdiff
path: root/src/device/storage.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-06 19:22:33 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-06 19:22:33 +0200
commitc2a12ff793a0366cefc3d6a917a16f07ff0aadc7 (patch)
treee6e88b39528dd3cf203e8b0dd498b3470eb1a4de /src/device/storage.rs
parent3cbf6deb9d958627a8b81fdf1bd9d75d3f0ec0a3 (diff)
downloadnitrokey-rs-c2a12ff793a0366cefc3d6a917a16f07ff0aadc7.tar.gz
nitrokey-rs-c2a12ff793a0366cefc3d6a917a16f07ff0aadc7.tar.bz2
Fix serial number check in device tests
The serial numuer check in the device tests are different for Storage devices because the Nitrokey Storage currently does not report its serial number in the status. Our previous implementation matched the model to determine how to check the serial number. This no longer works as we marked the model as non-exhaustive and was unnecessary. This patch changes the test logic to perform the serial number test for all devices except the Nitrokey Storage.
Diffstat (limited to 'src/device/storage.rs')
0 files changed, 0 insertions, 0 deletions