From 61ac4220ae1099ebb5703a0d88db857ba29ca9c3 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 27 Jul 2003 23:30:49 +0000 Subject: [PATCH] * lib/target.exp (prune_warnings): Handle "nfs server .* not responding" and "nfs server .* is alive again". --- ChangeLog | 5 +++++ lib/target.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index be516fa..10aefcb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-07-25 Mike Stump + + * lib/target.exp (prune_warnings): Handle "nfs server .* not + responding" and "nfs server .* is alive again". + 2003-07-20 Ben Elliston * config.guess: Update to most recent version. diff --git a/lib/target.exp b/lib/target.exp index 1152011..0cc3c9f 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -225,8 +225,8 @@ proc prune_warnings { text } { regsub -all "(^|\n)(cc1plus: warning: -g is only supported when using GAS on this processor\[^\n\]*\ncc1plus: warning:\[^\n\]*\n?)+" $text "\\1" text # This happens when testing across NFS. - regsub -all "(^|\n)(NFS server \[^\n\]* not responding still trying\[^\n\]*\n?)+" $text "\\1" text - regsub -all "(^|\n)(NFS server \[^\n\]* ok\[^\n\]*\n?)+" $text "\\1" text + regsub -all "(^|\n)((NFS|nfs) server \[^\n\]* not responding\[^\n\]*\n?)+" $text "\\1" text + regsub -all "(^|\n)((NFS|nfs) server \[^\n\]* (ok|is alive again)\[^\n\]*\n?)+" $text "\\1" text # This happens when testing across NFS on osf4. regsub -all "(^|\n)(NFS3 server \[^\n\]* not responding still trying\[^\n\]*\n?)+" $text "\\1" text -- 2.7.4