@@ -464,7 +464,6 @@ static void *io_relay(void *varg)
464464 soft_assertions_failed ++ ;
465465 }
466466 if (bbs_expect_str ) {
467- int rounds = 0 ;
468467 bbs_readline_append (& rldata , "\n" , buf , (size_t ) res , & ready );
469468 /* Check if the line contains the expected output.
470469 * If we read multiple lines, loop until there's not a full line left in the buffer. */
@@ -484,7 +483,6 @@ static void *io_relay(void *varg)
484483 }
485484 /* Don't append, just shift the buffer and check if we can read immediately. */
486485 bbs_readline_append (& rldata , "\n" , NULL , 0 , & ready );
487- rounds ++ ;
488486 }
489487 if (startup_run_unit_tests_started == 1 ) {
490488 bbs_debug (5 , "Stalling until expect reactivated\n" );
@@ -1237,8 +1235,8 @@ static int run_test(const char *filename, int multiple)
12371235 alarm (0 ); /* Cancel any pending alarm */
12381236 bbs_debug (3 , "Test '%s' returned %d\n" , filename , res );
12391237#if 1
1240- /* Allow the poor BBS time for catching its breath.
1241- * test_irc under valgrind no longer seems to need this due to locking fixes, but LBBS-80 is exacerbated by removing this */
1238+ /* Allow the poor BBS time for catching its breath. */
1239+ /* FIXME test_irc under valgrind no longer seems to need this due to locking fixes, but LBBS-80 is exacerbated by removing this */
12421240 usleep (50000 );
12431241#endif
12441242 } else {
0 commit comments