Index: trunk/psLib/test/astronomy/tst_psMetadata_02.c
===================================================================
--- trunk/psLib/test/astronomy/tst_psMetadata_02.c	(revision 2011)
+++ trunk/psLib/test/astronomy/tst_psMetadata_02.c	(revision 2012)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-09-21 23:24:42 $
+*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-10-07 22:31:31 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -89,5 +89,10 @@
     printNegativeTestHeader(stdout,"psMetadata", "Test B - Attempt to create metadata item with null name",
                             "Null value for name not allowed", 0);
-    psMetadataItemAlloc(NULL, PS_META_STR, "I am a string", "HELLO WORLD");
+    psLogMsg(__func__,PS_LOG_INFO,"Following should produce error for null name.");
+    badItem = psMetadataItemAlloc(NULL, PS_META_STR, "I am a string", "HELLO WORLD");
+    if (badItem != NULL) {
+        psError(__func__,"psMetadataItemAlloc did not return null with null name item.");
+        return 10;
+    }
     printFooter(stdout, "psMetadata", "Test B - Attempt to create metadata item with null name", true);
 
Index: trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr
===================================================================
--- trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr	(revision 2011)
+++ trunk/psLib/test/astronomy/verified/tst_psMetadata_02.stderr	(revision 2012)
@@ -1,2 +1,4 @@
+<DATE><TIME>|<HOST>|I|main
+    Following should produce error for null name.
 <DATE><TIME>|<HOST>|E|psMetadataItemAllocV
     Null value for name not allowed
Index: trunk/psLib/test/collections/tst_psMetadata_02.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 2011)
+++ trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 2012)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-09-21 23:24:42 $
+*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-10-07 22:31:31 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -89,5 +89,10 @@
     printNegativeTestHeader(stdout,"psMetadata", "Test B - Attempt to create metadata item with null name",
                             "Null value for name not allowed", 0);
-    psMetadataItemAlloc(NULL, PS_META_STR, "I am a string", "HELLO WORLD");
+    psLogMsg(__func__,PS_LOG_INFO,"Following should produce error for null name.");
+    badItem = psMetadataItemAlloc(NULL, PS_META_STR, "I am a string", "HELLO WORLD");
+    if (badItem != NULL) {
+        psError(__func__,"psMetadataItemAlloc did not return null with null name item.");
+        return 10;
+    }
     printFooter(stdout, "psMetadata", "Test B - Attempt to create metadata item with null name", true);
 
