aboutsummaryrefslogtreecommitdiff
path: root/unittest/test2.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-24 16:19:50 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:23 +0100
commit29974c0d51f099af9869e49597f77936fc069376 (patch)
tree21dbeafc78b822d7ea1b3646babf11d7a9b21142 /unittest/test2.cc
parent33a2d790e0a68d243bc1d9e9f75590b141d85c7f (diff)
downloadlibnitrokey-29974c0d51f099af9869e49597f77936fc069376.tar.gz
libnitrokey-29974c0d51f099af9869e49597f77936fc069376.tar.bz2
Test: another commands
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/test2.cc')
-rw-r--r--unittest/test2.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/unittest/test2.cc b/unittest/test2.cc
index 61fb502..91982c9 100644
--- a/unittest/test2.cc
+++ b/unittest/test2.cc
@@ -65,8 +65,12 @@ TEST_CASE("test", "[test]") {
execute_password_command<SendSetReadwriteToUncryptedVolume>(stick, "123456");
execute_password_command<SendClearNewSdCardFound>(stick, "12345678", 'A');
this_thread::sleep_for(1000ms);
-// execute_password_command<LockFirmware>(stick, "123123123");
-// execute_password_command<EnableFirmwareUpdate>(stick, "123123123"); //FIRMWARE PIN
+// execute_password_command<LockFirmware>(stick, "123123123"); //CAUTION
+// execute_password_command<EnableFirmwareUpdate>(stick, "123123123"); //CAUTION FIRMWARE PIN
+
+ execute_password_command<ExportFirmware>(stick, "12345678", 'A');
+// execute_password_command<FillSDCardWithRandomChars>(stick, "12345678", 'A');
+
stick10::LockDevice::CommandTransaction::run(stick);