aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-25 02:09:18 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-10-02 11:54:41 +0200
commitc7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645 (patch)
treece36f73957b1504bb63c25282958aa06571302c5 /src/tests
parentadbfa1c12257405112445497324938a011db8664 (diff)
downloadnitrocli-c7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645.tar.gz
nitrocli-c7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645.tar.bz2
Support Librem Key
This patch adds the librem device model for the Librem Key. Note that we cannot run any tests for the new model until nitrokey-test is updated.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs
index 23eecc5..65983bb 100644
--- a/src/tests/mod.rs
+++ b/src/tests/mod.rs
@@ -76,6 +76,7 @@ impl Nitrocli {
fn model_to_arg(model: nitrokey::Model) -> &'static str {
match model {
+ nitrokey::Model::Librem => "--model=librem",
nitrokey::Model::Pro => "--model=pro",
nitrokey::Model::Storage => "--model=storage",
_ => panic!("Unexpected model in test suite: {}", model),