Index: /trunk/psLib/test/sysUtils/Makefile
===================================================================
--- /trunk/psLib/test/sysUtils/Makefile	(revision 556)
+++ /trunk/psLib/test/sysUtils/Makefile	(revision 557)
@@ -3,6 +3,6 @@
 ##  Makefile:   test/sysUtils
 ##
-##  $Revision: 1.4 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-04-30 01:28:04 $
+##  $Revision: 1.5 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-04-30 06:19:57 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,4 +20,8 @@
          atst_psAbort_02    \
          atst_psAbort_03    \
+         tst_psTrace00      \
+         tst_psTrace01      \
+         tst_psTrace02      \
+         tst_psTrace03      \
          tst_psStringCopy
 
@@ -43,4 +47,7 @@
 	$(CC) tst_psTrace02.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace02
 
+tst_psTrace03:	tst_psTrace03.c
+	$(CC) tst_psTrace03.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace03
+
 %.o : %.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $<
Index: /trunk/psLib/test/sysUtils/tst_psTrace03.c
===================================================================
--- /trunk/psLib/test/sysUtils/tst_psTrace03.c	(revision 557)
+++ /trunk/psLib/test/sysUtils/tst_psTrace03.c	(revision 557)
@@ -0,0 +1,30 @@
+/*****************************************************************************
+    This code tests whether trace messages can be printed successfully
+    with psPrintTraceLevels().
+ *****************************************************************************/
+#include <stdio.h>
+#include "pslib.h"
+#include "psTest.h"
+
+main()
+{
+    psSetTraceLevel(".", 9);
+
+    psSetTraceLevel(".a", 8);
+    /*
+        psSetTraceLevel(".b", 7);
+        psSetTraceLevel(".c", 5);
+     
+        psSetTraceLevel(".a.a", 4);
+        psSetTraceLevel(".a.a", 3);
+     
+        psSetTraceLevel(".b.a", 2);
+        psSetTraceLevel(".b.a", 1);
+     
+        psSetTraceLevel(".c.a", 0);
+        psSetTraceLevel(".c.b", 3);
+        psSetTraceLevel(".c.c", 5);
+    */
+    psPrintTraceLevels();
+    exit(0);
+}
