IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2006, 11:32:26 AM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.47

File:
1 edited

Legend:

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

    r9149 r9301  
    596596        }
    597597
     598        if (!p3ProcessedExpInsertFits(dbh, fits)) {
     599            exit(EXIT_FAILURE);
     600        }
     601
     602        if (!psFitsClose(fits)) {
     603            exit(EXIT_FAILURE);
     604        }
     605
     606        psDBCleanup(dbh);
     607    }
     608
     609    {
     610        psDB            *dbh;
     611        psFits          *fits;
     612
     613        dbh = psDBInit("localhost", "test", NULL, "test");
     614        if (!dbh) {
     615            exit(EXIT_FAILURE);
     616        }
     617
     618        // open a temp
     619        fits = psFitsOpen(TMP_FILENAME, "r");
     620        if (!fits) {
     621            exit(EXIT_FAILURE);
     622        }
     623
    598624        if (!detRunInsertFits(dbh, fits)) {
    599625            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.