Changeset 11045 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Jan 11, 2007, 3:35:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r10753 r11045 258 258 } 259 259 260 if (!rawDetrendExpInsertFits(dbh, fits)) { 261 exit(EXIT_FAILURE); 262 } 263 264 if (!psFitsClose(fits)) { 265 exit(EXIT_FAILURE); 266 } 267 268 psDBCleanup(dbh); 269 } 270 271 { 272 psDB *dbh; 273 psFits *fits; 274 275 dbh = psDBInit("localhost", "test", NULL, "test"); 276 if (!dbh) { 277 exit(EXIT_FAILURE); 278 } 279 280 // open a temp 281 fits = psFitsOpen(TMP_FILENAME, "r"); 282 if (!fits) { 283 exit(EXIT_FAILURE); 284 } 285 286 if (!rawScienceExpInsertFits(dbh, fits)) { 260 if (!rawExpInsertFits(dbh, fits)) { 287 261 exit(EXIT_FAILURE); 288 262 }
Note:
See TracChangeset
for help on using the changeset viewer.
