aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-13 17:55:31 +0100
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-13 17:55:31 +0100
commit6a8151c3a25b09a12118343342fdd87b3d429a83 (patch)
tree2ccf7877cfa14873efe173a53ed322defc81206f /unittest
parentd8dd70b7f9577322424002b256bb8b2367107a2f (diff)
downloadlibnitrokey-6a8151c3a25b09a12118343342fdd87b3d429a83.tar.gz
libnitrokey-6a8151c3a25b09a12118343342fdd87b3d429a83.tar.bz2
testing stick 10
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/unittest/test.cc b/unittest/test.cc
index c0762a5..f24fc54 100644
--- a/unittest/test.cc
+++ b/unittest/test.cc
@@ -10,9 +10,10 @@ using namespace nitrokey::proto::stick10;
using namespace nitrokey::log;
int main() {
- Stick20 stick;
+ Stick10 stick;
+ cout << stick.connect() << endl;
- Log::instance().set_loglevel(Loglevel::DEBUG);
+ Log::instance().set_loglevel(Loglevel::DEBUG_L2);
{
auto resp = GetStatus::CommandTransaction::run(stick);