IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2007, 12:27:55 PM (19 years ago)
Author:
jhoblitt
Message:

dev version

File:
1 edited

Legend:

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

    r14061 r14169  
    336336        }
    337337
    338         if (!chipInputImfileInsertFits(dbh, fits)) {
    339             exit(EXIT_FAILURE);
    340         }
    341 
    342         if (!psFitsClose(fits)) {
    343             exit(EXIT_FAILURE);
    344         }
    345 
    346         psDBCleanup(dbh);
    347     }
    348 
    349     {
    350         psDB            *dbh;
    351         psFits          *fits;
    352 
    353         dbh = psDBInit("localhost", "test", NULL, "test");
    354         if (!dbh) {
    355             exit(EXIT_FAILURE);
    356         }
    357 
    358         // open a temp
    359         fits = psFitsOpen(TMP_FILENAME, "r");
    360         if (!fits) {
    361             exit(EXIT_FAILURE);
    362         }
    363 
    364338        if (!chipProcessedImfileInsertFits(dbh, fits)) {
    365339            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.