IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2008, 3:04:07 PM (18 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.31

File:
1 edited

Legend:

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

    r16587 r16731  
    466466        }
    467467
    468         if (!warpInputExpInsertFits(dbh, fits)) {
    469             exit(EXIT_FAILURE);
    470         }
    471 
    472         if (!psFitsClose(fits)) {
    473             exit(EXIT_FAILURE);
    474         }
    475 
    476         psDBCleanup(dbh);
    477     }
    478 
    479     {
    480         psDB            *dbh;
    481         psFits          *fits;
    482 
    483         dbh = psDBInit("localhost", "test", NULL, "test");
    484         if (!dbh) {
    485             exit(EXIT_FAILURE);
    486         }
    487 
    488         // open a temp
    489         fits = psFitsOpen(TMP_FILENAME, "r");
    490         if (!fits) {
    491             exit(EXIT_FAILURE);
    492         }
    493 
    494468        if (!warpSkyCellMapInsertFits(dbh, fits)) {
    495469            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.