mirror of https://github.com/wolfSSL/wolfBoot.git
Troubleshooting test-lib failure.
parent
0c9fa8e0ae
commit
3a2ac0b7a8
|
@ -30,10 +30,13 @@ jobs:
|
|||
|
||||
- name: Run test-lib
|
||||
run: |
|
||||
./test-lib test_v1_signed.bin
|
||||
./test-lib test_v1_signed.bin 2>&1 | grep "Firmware Valid"
|
||||
|
||||
- name: Run test-lib (expect failure)
|
||||
run: |
|
||||
# Corrupt signed binary
|
||||
truncate -s -1 test_v1_signed.bin
|
||||
echo "A" >> test_v1_signed.bin
|
||||
./test-lib test_v1_signed.bin
|
||||
./test-lib test_v1_signed.bin 2>&1 | grep "Failure"
|
||||
|
|
Loading…
Reference in New Issue