Commit 2b4f7f0
committed
[rescue,test] Enhance rescue error handling tests
This commit expands the end-to-end tests for rescue error handling:
- Adds a rescue_image_too_big test for Xmodem to check the handling
of oversized firmware images during rescue, ensuring the device
correctly cancels the operation and remains functional.
- Modifies the `usb_dfu_out_chunk_too_big` test to first perform a
successful chunk download before attempting an oversized one, improving
test robustness.
Signed-off-by: Anthony Chen <[email protected]>1 parent 382e702 commit 2b4f7f0
File tree
3 files changed
+36
-4
lines changed- sw
- device/silicon_creator/rom_ext/e2e/rescue
- host/tests/rescue
3 files changed
+36
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
| 780 | + | |
780 | 781 | | |
781 | 782 | | |
782 | 783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
346 | 373 | | |
347 | 374 | | |
348 | 375 | | |
| |||
361 | 388 | | |
362 | 389 | | |
363 | 390 | | |
| 391 | + | |
364 | 392 | | |
365 | 393 | | |
0 commit comments