This gets me ready to go for PCP 3.5 QA.
Changes committed to git://oss.sgi.com/pcp/pcpqa.git
026.out | 44 +
043.out | 25
049.out | 166 ++--
256 | 8
256.out.2 | 175 ++++
271 | 2
271.out | 6
273 | 211 +++++
273.out | 1711 ++++++++++++++++++++++++++++++++++++++++++++++++
327 | 2
327.out | 26
417.linux | 44 -
423.out | 18
434 | 2
434.out | 18
435 | 107 +++
435.out | 94 ++
436 | 108 +++
436.out | 104 ++
437 | 46 +
437.out | 14
438 | 43 +
438.out | 93 ++
439 | 89 ++
439.out | 27
common | 12
common.check | 9
group | 101 +-
new | 6
owner | 13
src-oss/.gitignore | 1
src-oss/GNUmakefile | 7
src-oss/atomstr.c | 35
src-oss/badlen-0.0 |binary
src-oss/badlen-0.index |binary
src-oss/badlen-0.meta |binary
src-oss/badlen-1.0 |binary
src-oss/badlen-1.index |binary
src-oss/badlen-1.meta |binary
src-oss/badlen-2.0 |binary
src-oss/badlen-2.index |binary
src-oss/badlen-2.meta |binary
src-oss/badlen-3.0 |binary
src-oss/badlen-3.index |binary
src-oss/badlen-3.meta |binary
src-oss/badlen-4.0 | 1
src-oss/badlen-4.index |binary
src-oss/badlen-4.meta |binary
src-oss/badlen-5.0 |binary
src-oss/badlen-5.index |binary
src-oss/badlen-5.meta |binary
src-oss/badlen-6.0 |binary
src-oss/badlen-6.index |binary
src-oss/badlen-6.meta |binary
src-oss/badlen-7.0 |binary
src-oss/badlen-7.index |binary
src-oss/badlen-7.meta |binary
src-oss/badlen-8.0 |binary
src-oss/badlen-8.index |binary
src-oss/badlen-8.meta |binary
src-oss/chkhelp.c | 86 +-
src-oss/chknumval.c | 120 ++-
src-oss/grind_conv.c | 185 +++++
src-oss/logcontrol.c | 11
src-oss/mkbadlen | 87 ++
src-oss/torture_indom.c | 63 +
src-oss/xval.c | 241 ++++++
67 files changed, 3858 insertions(+), 303 deletions(-)
commit f5d001d9067f9e7983a96d1a78b89f57e35d2b8f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 08:49:12 2011 +1100
Add badlen archives to src-oss/GNUmakefile
commit 0ff6d39f405080dca9f2092b92642d774d079305
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 08:48:29 2011 +1100
439, logcontrol.c - additional coverage for __pmConnectLogger
A variety of error case exercises.
Uses an improved src-oss/logcontrol that allows either the
pmlogger pid or control port number to be used to establish
the connection.
commit 0c4940bd76c207c088bbdb1fd5ac8e9b4bcf8f1e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 08:34:23 2011 +1100
438 - better code coverage for libpcp/src/logutil.c
Uses a set of src-oss/badlen* archives that have been hand-built
to expose a number of bad archive error handling cases.
The src-oss/mkbadlen script shows how the badlen* archives
were created, and could be used to re-create them if needed
in the future.
commit 45be06d4804bc4d7895771882da0c1c3de1efff3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 08:07:44 2011 +1100
common.check - improved diagnostics
commit dd26fa4b768d25e78c345ebf5315dfbcd5a6ca5f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 08:06:34 2011 +1100
273 - improved test coverage for libpcp
Based on gcov analysis, added more test cases for these libpcp
source files: store.c, units.c, spec.c, fetchlocal.c, instance.c
and help.c.
Also expanded/added these QA test programs:
torture_indom.c
- check instance lookups using pmLookupInDom() and pmNameInDom()
- ensure profile is inheritted when using pmDupContext()
- add -L and -K options for PM_CONTEXT_LOCAL testing
grind_conv.c (NEW)
- exercise pmConvScale, pmAtomStr, pmUnitsStr
xval.c
- enable tracing with -D command line option
- interpret value as unsigned (-u option)
- improve "match" logic to accommodate FLOAT and DOUBLE values
in particular
- a raft of error injection cases (-e option)
commit 86f490f7c027b191a763cca9ccbca9a5014cf261
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 07:06:32 2011 +1100
434 - better filtering to handle multiple digits in number values
commit 576ab3f486424f5fd399fab7572b13310b07a1b4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 07:05:36 2011 +1100
423, atomstr.c - improved test coverage
Longer aggregate to check ellipsis formating after start of value.
More PM_TYPE_STRING test cases (different length strings).
More PM_TYPE_EVENT test cases.
More PM_TYPE_AGGREGATE test cases.
commit d9d9faed862ac16638c20c9be6059439aef8c950
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 07:02:01 2011 +1100
417 - output changes (compressed archives support)
commit f63b677241abf028e5d5f51e4b1ca1b22e118af9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:59:23 2011 +1100
327 - output change after pmloglabel message fix
commit 1bebf10954969234ceac951940284d66d8c31994
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:51:01 2011 +1100
327 - fix exit status botch
commit 332ff2f668f1bb3ce83ab1fe529f50c0d5852a27
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:50:24 2011 +1100
256 - improved test coverage
Check -n and -L together with pminfo.
Check -n alone with src-oss/nameall.
commit 0a9c0a7ffc22c08b2d7d26c24491a959a9e9e04b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:47:38 2011 +1100
049, 271 - small changes in -Dlog output format
commit 891328cd9de5ea867cbd098eaaa7b94ef41ba186
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:43:34 2011 +1100
043, chknumval.c - improved test coverage
Add -L and -K options to allow PM_CONTEXT_LOCAL testing.
Allow non-default metrics to be specified from the command line.
Do a baseline pmStore test (numval > 0, no errors expected).
Beyond 043, the new test 273 uses the additional chknumval
features to drive additional libpcp test coverage.
commit f5bbb48c0d57d936fd4a508a7b022e501cc5b83d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jan 18 06:36:35 2011 +1100
026, chkhelp.c - improve test coverage
Test more error cases and add iteration with a context created
using pmDupContext.
commit d21aab97588bd08ecf61eabb0d598db909650452
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Dec 28 17:09:31 2010 +1100
435, 436, 437 - compressed archives workout
|