README revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
This directory contains a stress-test harness for the ::Exacct module.
This will detect bugs in both the perl code and the underlying libexacct
library. To use, build the ::Exacct module in the parent directory, then:
$ cc -o randtest randtest.c -lexacct
$ chmod a+x RandTest
$ ./RandTest
The test script will run until interrupted by SIGINT. If any errors are
detected, the script will exit and leave diganostic files in /tmp.
Running this under a memory checker, e.g. the WorkShop debugger or libumem
is also a good way of detecting errors.
If you wish to run this on the installed version of the ::Exacct module,
remove the 'use blib' statement on line 14 of RandTest.