Changeset 2177 for trunk/psLib/test/astronomy/tst_psTime_02.c
- Timestamp:
- Oct 20, 2004, 10:03:10 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_02.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_02.c
r2048 r2177 6 6 * A) Incorrect ISO time data 7 7 * B) Attempt to use null timeval 8 * C) Free data 8 9 * 9 10 * @author Ross Harman, MHPCC 10 11 * 11 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10- 12 01:34:09$12 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-20 20:02:46 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 34 35 35 36 // Test B - Attempt to use null timeval 36 printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", 37 "Null value for timeval arg not allowed", 0); 37 printNegativeTestHeader(stdout,"psTime", "Attempt to use null timeval", "Null value for timeval arg not allowed", 0); 38 38 psTimeFromTimeval(NULL); 39 39 printFooter(stdout, "psTime", "Attempt to use null timeval", true); 40 40 41 41 42 // Test C - Free psMetadata43 printPositiveTestHeader(stdout, "ps Metadata", "Test C - Free psMetadata");42 // Test C - Free data 43 printPositiveTestHeader(stdout, "psTime", "Test C - Free data"); 44 44 psMemCheckLeaks(0, NULL, stdout); 45 45 psMemCheckCorruption(0); … … 48 48 printf("ERROR: Found %d bad memory blocks\n", nBad); 49 49 } 50 printFooter(stdout, "psMetadata", "Test C - Free psMetadata", true); 50 printFooter(stdout, "psTime", "Test C - Free data", true); 51 51 52 return 0; 52 53 }
Note:
See TracChangeset
for help on using the changeset viewer.
