1# 2# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3# 4 5This directory contains a stress-test harness for the ::Exacct module. 6This will detect bugs in both the perl code and the underlying libexacct 7library. To use, build the ::Exacct module in the parent directory, then: 8 9$ cc -o randtest randtest.c -lexacct 10$ chmod a+x RandTest 11$ ./RandTest 12 13The test script will run until interrupted by SIGINT. If any errors are 14detected, the script will exit and leave diganostic files in /tmp. 15 16Running this under a memory checker, e.g. the WorkShop debugger or libumem 17is also a good way of detecting errors. 18 19If you wish to run this on the installed version of the ::Exacct module, 20remove the 'use blib' statement on line 14 of RandTest. 21