summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-24 14:52:53 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:23 +0100
commit536d2b40239cbff94d7e562a0c0c9cf4f462576f (patch)
treee38eac4ca623c262ac6eba69ca224008c09e7fcc
parent9a56e6c27104ead60a89c403e77494bfcfea563f (diff)
downloadlibnitrokey-536d2b40239cbff94d7e562a0c0c9cf4f462576f.tar.gz
libnitrokey-536d2b40239cbff94d7e562a0c0c9cf4f462576f.tar.bz2
Test: let device rest after enabling encrypted partition
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--unittest/test2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/test2.cc b/unittest/test2.cc
index 79417c6..883e37b 100644
--- a/unittest/test2.cc
+++ b/unittest/test2.cc
@@ -44,6 +44,7 @@ TEST_CASE("test", "[test]") {
strcpyT(p.password, "123456");
EnableEncryptedPartition::CommandTransaction::run(stick, p);
}
+ this_thread::sleep_for(1000ms);
{
auto p = get_payload<EnableHiddenEncryptedPartition>();
p.set_kind_user();