Changeset 9149 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Oct 3, 2006, 12:09:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r9107 r9149 778 778 } 779 779 780 if (!detNormalizedExpInsertFits(dbh, fits)) { 781 exit(EXIT_FAILURE); 782 } 783 784 if (!psFitsClose(fits)) { 785 exit(EXIT_FAILURE); 786 } 787 788 psDBCleanup(dbh); 789 } 790 791 { 792 psDB *dbh; 793 psFits *fits; 794 795 dbh = psDBInit("localhost", "test", NULL, "test"); 796 if (!dbh) { 797 exit(EXIT_FAILURE); 798 } 799 800 // open a temp 801 fits = psFitsOpen(TMP_FILENAME, "r"); 802 if (!fits) { 803 exit(EXIT_FAILURE); 804 } 805 780 806 if (!detMasterFrameInsertFits(dbh, fits)) { 781 807 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
