diff options
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/test2.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unittest/test2.cc b/unittest/test2.cc index 91982c9..9739217 100644 --- a/unittest/test2.cc +++ b/unittest/test2.cc @@ -64,6 +64,7 @@ TEST_CASE("test", "[test]") { execute_password_command<SendSetReadonlyToUncryptedVolume>(stick, "123456"); execute_password_command<SendSetReadwriteToUncryptedVolume>(stick, "123456"); execute_password_command<SendClearNewSdCardFound>(stick, "12345678", 'A'); + stick20::GetDeviceStatus::CommandTransaction::run(stick); this_thread::sleep_for(1000ms); // execute_password_command<LockFirmware>(stick, "123123123"); //CAUTION // execute_password_command<EnableFirmwareUpdate>(stick, "123123123"); //CAUTION FIRMWARE PIN @@ -71,8 +72,5 @@ TEST_CASE("test", "[test]") { execute_password_command<ExportFirmware>(stick, "12345678", 'A'); // execute_password_command<FillSDCardWithRandomChars>(stick, "12345678", 'A'); - stick10::LockDevice::CommandTransaction::run(stick); - - stick.disconnect(); } |