Test suite results

Randy McMurchy randy at linuxfromscratch.org
Thu Apr 27 06:49:34 PDT 2006


Randy McMurchy wrote these words on 04/27/06 08:41 CST:

> echo $((`grep 'tests passed' check.log | \
>          awk '{print $2}' | \
>          sed "s/.*/+&/"`))

Of course, stand alone and not in the book, the "amp;" would not
be there in the last line.

And, BTW, the output from the test produces the conventional

===================
All xx tests passed
===================

in the log file. A whole bunch of them where xx is some arbitrary
number with a varying amount of digits.

-- 
Randy

rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
08:45:00 up 32 days, 20:22, 1 user, load average: 0.05, 0.11, 0.08



More information about the blfs-dev mailing list