Subject: Re: bug#42399: DejaGnu randomly truncates lines in runtest output

From: Andreas Schwab <[email-masked]>
Date: Fri, 17 Jul 2020 10:39:45 +0200

On Jul 16 2020, Alex Coplan wrote:

> Then, create a subdirectory bug.dg, containing a single file bug.exp
> with the following contents:
>
>   global text
>
>   spawn "./a.out"
>
>   set prefix "\[^\r\n\]*"
>   expect {
>     -re "^$prefix\tPASSED:${text}*" {

Are you sure you want to repeatedly match the last character in ${text}?

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."