pcp updates misc

Ken McDonell <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Note the qa/884 change is really to expose a code deficiency in libpcp_web (assuming all values will fit into an "int") that should be fixed ... I think this has been discussed before, but I don't know if there is a BZ issue open for it.

Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (4):
      qa/1024: make safe for 32-bit systems
      qa/src/json_test.c: add support for -D on the command line
      qa/884.out: replace negative values by the correct 64-bit values
      qa/051: really, really (!!) fix "off net" filtering

 qa/051                       |   54 +++++++++++++++++++++++++-------
 qa/1024.out                  |   72 +++++++++++++++++++++----------------------
 qa/884.out                   |    6 +--
 qa/linux/blkdev-root-006.tgz |binary
 qa/src/json_test.c           |   42 ++++++++++++++++++++++++-
 5 files changed, 122 insertions(+), 52 deletions(-)

Details ...

commit a459b176dda228f25ed5b868a123ed6127687edc
Author: Ken McDonell <[email protected]>
Date:   Wed Oct 19 10:49:38 2016 +1100

    qa/051: really, really (!!) fix "off net" filtering

    Luckily I'm the only one suffering in this Neanderthal networking
    environment.

commit ad9ea44ad4165c8ca69ef4997e80acb588697f97
Author: Ken McDonell <[email protected]>
Date:   Wed Oct 19 09:38:06 2016 +1100

    qa/884.out: replace negative values by the correct 64-bit values

    This will force the test to fail everywhere until the underlying
    json parsing code is taught that not all values will fit into
    32-bits.

commit 4f4505c9515b3f6abd3ed3cac684acc0e665ed41
Author: Ken McDonell <[email protected]>
Date:   Wed Oct 19 09:37:34 2016 +1100

    qa/src/json_test.c: add support for -D on the command line

commit 4d0b4a25d9d0162b7771a044a3a69af8c997b3ad
Author: Ken McDonell <[email protected]>
Date:   Wed Oct 19 09:35:14 2016 +1100

    qa/1024: make safe for 32-bit systems

    Modify the diskstats file in qa/linux/blkdev-root-006.tgz so that
    all values are less than 10^9 and then adjust 1024.out accordingly.

    Test should now pass on 64-bit and 32-bit platforms.

_______________________________________________
pcp mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/pcp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.