IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 28, 2006, 12:23:25 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.60

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/insertfits.c

    r10110 r10238  
    778778        }
    779779
    780         if (!detMasterFrameInsertFits(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 
    806         if (!detMasterImfileInsertFits(dbh, fits)) {
    807             exit(EXIT_FAILURE);
    808         }
    809 
    810         if (!psFitsClose(fits)) {
    811             exit(EXIT_FAILURE);
    812         }
    813 
    814         psDBCleanup(dbh);
    815     }
    816 
    817     {
    818         psDB            *dbh;
    819         psFits          *fits;
    820 
    821         dbh = psDBInit("localhost", "test", NULL, "test");
    822         if (!dbh) {
    823             exit(EXIT_FAILURE);
    824         }
    825 
    826         // open a temp
    827         fits = psFitsOpen(TMP_FILENAME, "r");
    828         if (!fits) {
    829             exit(EXIT_FAILURE);
    830         }
    831 
    832780        if (!detResidImfileInsertFits(dbh, fits)) {
    833781            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.