Changeset 9301 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Oct 5, 2006, 11:32:26 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r9149 r9301 596 596 } 597 597 598 if (!p3ProcessedExpInsertFits(dbh, fits)) { 599 exit(EXIT_FAILURE); 600 } 601 602 if (!psFitsClose(fits)) { 603 exit(EXIT_FAILURE); 604 } 605 606 psDBCleanup(dbh); 607 } 608 609 { 610 psDB *dbh; 611 psFits *fits; 612 613 dbh = psDBInit("localhost", "test", NULL, "test"); 614 if (!dbh) { 615 exit(EXIT_FAILURE); 616 } 617 618 // open a temp 619 fits = psFitsOpen(TMP_FILENAME, "r"); 620 if (!fits) { 621 exit(EXIT_FAILURE); 622 } 623 598 624 if (!detRunInsertFits(dbh, fits)) { 599 625 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
