I have been running the ttclchecker syntax checker over the DejaGnu sources and slowly fixing problems it identifies. Here's a patch for the first one:
2018-12-08 Ben Elliston <b...@gnu.org> * lib/tip.exp (tip_open): Put braces around if expression. diff --git a/lib/tip.exp b/lib/tip.exp index 8e19178..9fb94dd 100644 --- a/lib/tip.exp +++ b/lib/tip.exp @@ -59,7 +59,7 @@ proc tip_open { hostname } { warning "Never got prompt." set result -1 incr tries - if $tries<=2 { + if { $tries <= 2 } { exp_continue } }
signature.asc
Description: PGP signature
_______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu