Changeset 10110 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Nov 20, 2006, 1:58:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r10060 r10110 24 24 } 25 25 26 if (!expTagCounterInsertFits(dbh, fits)) { 27 exit(EXIT_FAILURE); 28 } 29 30 if (!psFitsClose(fits)) { 31 exit(EXIT_FAILURE); 32 } 33 34 psDBCleanup(dbh); 35 } 36 37 { 38 psDB *dbh; 39 psFits *fits; 40 41 dbh = psDBInit("localhost", "test", NULL, "test"); 42 if (!dbh) { 43 exit(EXIT_FAILURE); 44 } 45 46 // open a temp 47 fits = psFitsOpen(TMP_FILENAME, "r"); 48 if (!fits) { 49 exit(EXIT_FAILURE); 50 } 51 26 52 if (!summitExpInsertFits(dbh, fits)) { 27 53 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
