Changeset 13937 for trunk/ippdb/tests/objectfrommetadata.c
- Timestamp:
- Jun 21, 2007, 2:10:11 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/objectfrommetadata.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/objectfrommetadata.c
r13739 r13937 1073 1073 exit(EXIT_FAILURE); 1074 1074 } 1075 if (!psMetadataAddStr(md, PS_LIST_TAIL, "re cipe", 0, NULL, "a string")) {1075 if (!psMetadataAddStr(md, PS_LIST_TAIL, "reduction", 0, NULL, "a string")) { 1076 1076 psFree(md); 1077 1077 exit(EXIT_FAILURE); … … 1112 1112 exit(EXIT_FAILURE); 1113 1113 } 1114 if (strncmp(object->re cipe, "a string", MAX_STRING_LENGTH)) {1114 if (strncmp(object->reduction, "a string", MAX_STRING_LENGTH)) { 1115 1115 psFree(object); 1116 1116 exit(EXIT_FAILURE); … … 1191 1191 exit(EXIT_FAILURE); 1192 1192 } 1193 if (!psMetadataAddStr(md, PS_LIST_TAIL, "re cipe", 0, NULL, "a string")) {1193 if (!psMetadataAddStr(md, PS_LIST_TAIL, "reduction", 0, NULL, "a string")) { 1194 1194 psFree(md); 1195 1195 exit(EXIT_FAILURE); … … 1230 1230 exit(EXIT_FAILURE); 1231 1231 } 1232 if (strncmp(object->re cipe, "a string", MAX_STRING_LENGTH)) {1232 if (strncmp(object->reduction, "a string", MAX_STRING_LENGTH)) { 1233 1233 psFree(object); 1234 1234 exit(EXIT_FAILURE); … … 1489 1489 exit(EXIT_FAILURE); 1490 1490 } 1491 if (!psMetadataAddStr(md, PS_LIST_TAIL, "re cipe", 0, NULL, "a string")) {1491 if (!psMetadataAddStr(md, PS_LIST_TAIL, "reduction", 0, NULL, "a string")) { 1492 1492 psFree(md); 1493 1493 exit(EXIT_FAILURE); … … 1524 1524 exit(EXIT_FAILURE); 1525 1525 } 1526 if (strncmp(object->re cipe, "a string", MAX_STRING_LENGTH)) {1526 if (strncmp(object->reduction, "a string", MAX_STRING_LENGTH)) { 1527 1527 psFree(object); 1528 1528 exit(EXIT_FAILURE); … … 1559 1559 exit(EXIT_FAILURE); 1560 1560 } 1561 if (!psMetadataAddStr(md, PS_LIST_TAIL, "re cipe", 0, NULL, "a string")) {1561 if (!psMetadataAddStr(md, PS_LIST_TAIL, "reduction", 0, NULL, "a string")) { 1562 1562 psFree(md); 1563 1563 exit(EXIT_FAILURE); … … 1657 1657 exit(EXIT_FAILURE); 1658 1658 } 1659 if (strncmp(object->re cipe, "a string", MAX_STRING_LENGTH)) {1659 if (strncmp(object->reduction, "a string", MAX_STRING_LENGTH)) { 1660 1660 psFree(object); 1661 1661 exit(EXIT_FAILURE); … … 2382 2382 exit(EXIT_FAILURE); 2383 2383 } 2384 if (!psMetadataAddStr(md, PS_LIST_TAIL, "reduction", 0, NULL, "a string")) { 2385 psFree(md); 2386 exit(EXIT_FAILURE); 2387 } 2384 2388 if (!psMetadataAddStr(md, PS_LIST_TAIL, "filter", 0, NULL, "a string")) { 2385 2389 psFree(md); … … 2494 2498 } 2495 2499 if (strncmp(object->exp_type, "a string", MAX_STRING_LENGTH)) { 2500 psFree(object); 2501 exit(EXIT_FAILURE); 2502 } 2503 if (strncmp(object->reduction, "a string", MAX_STRING_LENGTH)) { 2496 2504 psFree(object); 2497 2505 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
