* [PATCH] cthon nroff general test workaround
@ 2010-10-06 15:15 Benny Halevy
0 siblings, 0 replies; only message in thread
From: Benny Halevy @ 2010-10-06 15:15 UTC (permalink / raw)
To: NFS list
Newer versions of nroff spew out a warning that cause the cthon test
to fail in the following way:
Nroff
./stat: no data in nroff.time
general tests failed
The following patch filters out the warning from the output file
generated during the test.
Singed-off-by: Benny Halevy <bhalevy@panasas.com>
diff --git a/general/runtests.wrk b/general/runtests.wrk
index f3a5a4e..8247e2f 100644
--- a/general/runtests.wrk
+++ b/general/runtests.wrk
@@ -89,6 +89,8 @@ $TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time
rm nroff.out nroff.tbl
set -e
+egrep -v '^warning:.*$' <nroff.time >nroff.new
+mv -f nroff.new nroff.time
./stat nroff.time
set +e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-06 15:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 15:15 [PATCH] cthon nroff general test workaround Benny Halevy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.