Changeset 11820 for trunk/ippdb/tests/insertfits.c
- Timestamp:
- Feb 14, 2007, 5:58:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertfits.c
r11809 r11820 997 997 } 998 998 999 { 1000 psDB *dbh; 1001 psFits *fits; 1002 1003 dbh = psDBInit("localhost", "test", NULL, "test"); 1004 if (!dbh) { 1005 exit(EXIT_FAILURE); 1006 } 1007 1008 // open a temp 1009 fits = psFitsOpen(TMP_FILENAME, "r"); 1010 if (!fits) { 1011 exit(EXIT_FAILURE); 1012 } 1013 1014 if (!p6RunInsertFits(dbh, fits)) { 1015 exit(EXIT_FAILURE); 1016 } 1017 1018 if (!psFitsClose(fits)) { 1019 exit(EXIT_FAILURE); 1020 } 1021 1022 psDBCleanup(dbh); 1023 } 1024 999 1025 exit(EXIT_SUCCESS); 1000 1026 }
Note:
See TracChangeset
for help on using the changeset viewer.
