Troubleshooting test-lib failure.

pull/569/head
David Garske 2025-04-18 14:56:14 -07:00 committed by Daniele Lacamera
parent 0c9fa8e0ae
commit 3a2ac0b7a8
1 changed files with 3 additions and 0 deletions

View File

@ -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"