Changeset 9783 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Oct 30, 2006, 11:25:59 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r9684 r9783 336 336 } 337 337 338 if (!p2MaskInsertFits(dbh, fits)) { 339 exit(EXIT_FAILURE); 340 } 341 342 if (!psFitsClose(fits)) { 343 exit(EXIT_FAILURE); 344 } 345 346 psDBCleanup(dbh); 347 } 348 349 { 350 psDB *dbh; 351 psFits *fits; 352 353 dbh = psDBInit("localhost", "test", NULL, "test"); 354 if (!dbh) { 355 exit(EXIT_FAILURE); 356 } 357 358 // open a temp 359 fits = psFitsOpen(TMP_FILENAME, "r"); 360 if (!fits) { 361 exit(EXIT_FAILURE); 362 } 363 338 364 if (!p2ProcessedImfileInsertFits(dbh, fits)) { 339 365 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
