Changeset 9788 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Oct 30, 2006, 11:55:36 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r9783 r9788 440 440 } 441 441 442 if (!p3MaskInsertFits(dbh, fits)) { 443 exit(EXIT_FAILURE); 444 } 445 446 if (!psFitsClose(fits)) { 447 exit(EXIT_FAILURE); 448 } 449 450 psDBCleanup(dbh); 451 } 452 453 { 454 psDB *dbh; 455 psFits *fits; 456 457 dbh = psDBInit("localhost", "test", NULL, "test"); 458 if (!dbh) { 459 exit(EXIT_FAILURE); 460 } 461 462 // open a temp 463 fits = psFitsOpen(TMP_FILENAME, "r"); 464 if (!fits) { 465 exit(EXIT_FAILURE); 466 } 467 442 468 if (!detRunInsertFits(dbh, fits)) { 443 469 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
