Changeset 10328 for trunk/ippdb/tests/objectfrommetadata.c
- Timestamp:
- Nov 30, 2006, 2:46:56 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/objectfrommetadata.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/objectfrommetadata.c
r10238 r10328 121 121 exit(EXIT_FAILURE); 122 122 } 123 if (!psMetadataAddStr(md, PS_LIST_TAIL, "file_id", 0, NULL, "a string")) { 124 psFree(md); 125 exit(EXIT_FAILURE); 126 } 123 127 if (!psMetadataAddS32(md, PS_LIST_TAIL, "bytes", 0, NULL, -32)) { 124 128 psFree(md); … … 159 163 } 160 164 if (strncmp(object->telescope, "a string", MAX_STRING_LENGTH)) { 165 psFree(object); 166 exit(EXIT_FAILURE); 167 } 168 if (strncmp(object->file_id, "a string", MAX_STRING_LENGTH)) { 161 169 psFree(object); 162 170 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
