Changeset 2273 for trunk/psLib/test/astronomy/tst_psMetadata_01.c
- Timestamp:
- Nov 3, 2004, 3:05:00 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psMetadata_01.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psMetadata_01.c
r2204 r2273 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $20 * @date $Date: 2004-1 0-27 00:57:33$19 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2004-11-04 01:05:00 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 227 227 metadata1 = psMetadataReadHeader(metadata1, NULL, 22, "header_2.fits"); 228 228 if (metadata1 != NULL ) { 229 psError( __func__,"psMetadataReadHeader did not return null when invalid ext given.");229 psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null when invalid ext given."); 230 230 return 10; 231 231 } … … 238 238 metadata1 = psMetadataReadHeader(NULL, "AARGH", -1, "header_2.fits"); 239 239 if (metadata1 != NULL ) { 240 psError( __func__,"psMetadataReadHeader did not return null invalid extname give.");240 psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null invalid extname give."); 241 241 return 11; 242 242 } … … 249 249 metadata1 = psMetadataReadHeader(NULL, "MY_DATA_2", 0, "header_2.fits"); 250 250 if (metadata1 != NULL ) { 251 psError( __func__,"psMetadataReadHeader did not return null w/ valid extname, invalid extnum");251 psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null w/ valid extname, invalid extnum"); 252 252 return 12; 253 253 }
Note:
See TracChangeset
for help on using the changeset viewer.
