Changeset 883 for trunk/psLib/test/sysUtils/tst_psTrace02.c
- Timestamp:
- Jun 4, 2004, 2:50:35 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psTrace02.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psTrace02.c
r584 r883 1 1 /***************************************************************************** 2 This code testswhether trace messages can be successfully displayed2 This code will test whether trace messages can be successfully displayed 3 3 and not displayed. 4 5 NOTE: We must verify the output for the tst_psTrace02_OUT somewhere. 4 6 *****************************************************************************/ 5 7 #include <stdio.h> … … 9 11 int main() 10 12 { 13 FILE *fp; 14 11 15 printPositiveTestHeader(stdout, 12 16 "psTrace functions", … … 40 44 true); 41 45 46 47 fp = fopen("tst_psTrace02_OUT", "w"); 48 psTraceSetDestination(fp); 49 psTrace(".", 5, "(0) This message should be displayed (%x)\n", 50 0xbeefface); 51 fclose(fp); 52 42 53 return(0); 43 54 }
Note:
See TracChangeset
for help on using the changeset viewer.
