diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-07 20:47:41 +0200 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2021-01-10 17:37:56 -0800 |
commit | 9975f8810399d5e535f2e2fd62b4dc56b313f955 (patch) | |
tree | f54fd799be96b939dba1ce908c04ffbf336405b3 /rand/rand_hc/Cargo.toml | |
parent | ddc6f47970011e2092b3e068198072c18a4a5fb6 (diff) | |
download | nitrocli-9975f8810399d5e535f2e2fd62b4dc56b313f955.tar.gz nitrocli-9975f8810399d5e535f2e2fd62b4dc56b313f955.tar.bz2 |
Add test cases for new connection logic
This patch adds test cases for the new connection logic:
- connect_multiple checks that nitrocli aborts if more than one Nitrokey
device is connected and no filter is set.
- connect_serial_number checks that we can use the --serial-number
option to connect to all supported Nitrokey devices.
- connect_wrong_serial_number checks that nitrocli aborts if it can’t
find a device with the requested serial number.
- connect_model checks that we can use the --model option to select the
Nitrokey device to connect to, and that nitrocli aborts if it finds no
matching device or multiple matching devices.
Diffstat (limited to 'rand/rand_hc/Cargo.toml')
0 files changed, 0 insertions, 0 deletions