10Sstevel@tonic-gate# 2*12388SJohn.Sonnenschein@Sun.COM# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 30Sstevel@tonic-gate# 40Sstevel@tonic-gate 50Sstevel@tonic-gateThis directory contains a stress-test harness for the ::Exacct module. 60Sstevel@tonic-gateThis will detect bugs in both the perl code and the underlying libexacct 70Sstevel@tonic-gatelibrary. To use, build the ::Exacct module in the parent directory, then: 80Sstevel@tonic-gate 90Sstevel@tonic-gate$ cc -o randtest randtest.c -lexacct 100Sstevel@tonic-gate$ chmod a+x RandTest 110Sstevel@tonic-gate$ ./RandTest 120Sstevel@tonic-gate 130Sstevel@tonic-gateThe test script will run until interrupted by SIGINT. If any errors are 140Sstevel@tonic-gatedetected, the script will exit and leave diganostic files in /tmp. 150Sstevel@tonic-gate 160Sstevel@tonic-gateRunning this under a memory checker, e.g. the WorkShop debugger or libumem 170Sstevel@tonic-gateis also a good way of detecting errors. 180Sstevel@tonic-gate 190Sstevel@tonic-gateIf you wish to run this on the installed version of the ::Exacct module, 200Sstevel@tonic-gateremove the 'use blib' statement on line 14 of RandTest. 21