diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-10-22 19:35:26 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-11-26 18:56:22 +0100 |
commit | d8a6073f6118062266df8ef77c5a7969a9ed8be7 (patch) | |
tree | cf73cff06e46b9ddaf36af393246cd6925761426 | |
parent | 3b0452c05b84ede5a2085aee4a550a2a63ccdb65 (diff) | |
download | libnitrokey-d8a6073f6118062266df8ef77c5a7969a9ed8be7.tar.gz libnitrokey-d8a6073f6118062266df8ef77c5a7969a9ed8be7.tar.bz2 |
C++ tests update (2) - wait before lock
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | unittest/test2.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest/test2.cc b/unittest/test2.cc index b328c37..79417c6 100644 --- a/unittest/test2.cc +++ b/unittest/test2.cc @@ -50,6 +50,8 @@ TEST_CASE("test", "[test]") { strcpyT(p.password, "123123123"); EnableHiddenEncryptedPartition::CommandTransaction::run(stick, p); } + this_thread::sleep_for(1000ms); + stick10::LockDevice::CommandTransaction::run(stick); stick.disconnect(); } |