Index: /trunk/psLib/test/psTest.c
===================================================================
--- /trunk/psLib/test/psTest.c	(revision 1698)
+++ /trunk/psLib/test/psTest.c	(revision 1699)
@@ -21,4 +21,5 @@
 #include "psMemory.h"
 #include "psError.h"
+#include "psTrace.h"
 
 #define HEADER_TOP    "/***************************** TESTPOINT ******************************************\\\n"
@@ -149,4 +150,5 @@
             int retVal = fcn();
             psErrorClear(); // clear the error stack before checking for leaks
+            psTraceReset();
             if ( retVal == 0 ) { // only bother checking memory if test executed to end.
                 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
@@ -174,4 +176,5 @@
         childReturn = fcn();
         psErrorClear(); // clear the error stack before checking for leaks
+        psTraceReset();
         if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
             if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
