3 # this tests for memory leaks in pmNewContext->pmDestroyContext loops
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
15 status
=1 # failure is the default!
16 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18 # real QA test starts here
23 echo "Error: this test needs to use archive \"foo\""
27 echo "Checking host mode ..."
28 ..
/src
/chk_memleak
-i 250 -h localhost
30 echo "Checking archive mode ..."
31 ..
/src
//chk_memleak
-i 250 -a foo
34 if [ $status1 -eq 0 -a $status2 -eq 0 ]
38 echo "Error: chk_memleak failed"