On Tue, Dec 24, 2013 at 10:05:37AM +0400, Yury Gribov wrote: > Yury wrote: > >> Still sounds like a bug elsewhere to me. > > > > Let me investigate this deeper tomorrow (rebuilding fresh Dg, etc.). > > So I've double-checked that this is a problem with trunk DejaGNU > rsh.exp script removing trailing newline from test output: > > # Delete one trailing \n because that is what `exec' will do and > we want > # to behave identical to it. > regsub "\n$" $output "" output > > I can report this to DejaGNU mailing list but even if they agree to > fix we'll still have to do something about legacy Dg installations. > I suggest to work around by removing trailing newline as suggested > by original patch (or maybe replacing it with $ ?). > > What's your opinion?
Ok, I guess I can live with the original patch then. Jakub