summaryrefslogtreecommitdiff
path: root/unittest/test_issues.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-01-29 19:02:48 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-01-29 19:02:48 +0100
commit25e458ea8fdd4d704ce29709852b122cbcad5f06 (patch)
tree1003fa4b52153e3b2b727ce1bc394435d2fc9187 /unittest/test_issues.cc
parentf5235ca6cff56b7561901d311f6bd65aa2615ffb (diff)
parent6f35a5f98174a84bc4d96a98c37f66acc06f5b22 (diff)
downloadlibnitrokey-25e458ea8fdd4d704ce29709852b122cbcad5f06.tar.gz
libnitrokey-25e458ea8fdd4d704ce29709852b122cbcad5f06.tar.bz2
Merge branch 'update_catch'
Closes #91
Diffstat (limited to 'unittest/test_issues.cc')
-rw-r--r--unittest/test_issues.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/unittest/test_issues.cc b/unittest/test_issues.cc
index fe80384..d4fd72e 100644
--- a/unittest/test_issues.cc
+++ b/unittest/test_issues.cc
@@ -87,6 +87,16 @@ bool test_31(){
}
TEST_CASE("issue 31", "[issue]"){
+ {
+ auto i = NitrokeyManager::instance();
+ i->set_loglevel(4);
+ REQUIRE(i->connect());
+
+ i->unlock_encrypted_volume(default_user_pin);
+ i->create_hidden_volume(0, 70, 80, hidden_volume_pass);
+ i->lock_device();
+ }
+
for(int i=0; i<20; i++){
REQUIRE(test_31());
}