fwts: s3 and s4 tests have infinite loop

Bug #1348507 reported by Colin Ian King
This bug report is a duplicate of:  Bug #1359037: fwts S3 multiple tests stop working. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
New
High
Unassigned

Bug Description

Both the S3 and S4 tests have a bug:

loop_condition: If j < awake_delay / 1000 is initially true then it will remain true.
352 for (j = 0; j < awake_delay / 1000; i++) {
353 snprintf(buffer, sizeof(buffer), "(Waiting %d/%d seconds)",
354 j + 1, awake_delay / 1000);
355 fwts_progress_message(fw, percent, buffer);
356 sleep(1);

loop_bottom: Bottom of the loop.
357 }

..resulting in an infinite loop.

Changed in fwts:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.