Changeset 5071 for trunk/psLib/test/sys
- Timestamp:
- Sep 19, 2005, 2:31:22 PM (21 years ago)
- Location:
- trunk/psLib/test/sys
- Files:
-
- 2 edited
-
tst_psTrace.c (modified) (4 diffs)
-
verified/tst_psTrace.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tst_psTrace.c
r4951 r5071 188 188 static psS32 testTrace04(void) 189 189 { 190 FILE *fp;191 190 int FD; 192 191 psS32 nb = 0; … … 194 193 // printf("\nFD = %d\n", FD); 195 194 // fp = fopen("tst_psTrace02_OUT", "w"); 196 fp = fdopen(FD, "w");197 195 for (nb = 0 ; nb<4;nb++) { 198 196 if (nb == 0) … … 203 201 psTraceSetDestination(2); 204 202 if (nb == 2) 205 psTraceSetDestination( -1); //NULL203 psTraceSetDestination(0); //NULL 206 204 if (nb == 3) 207 205 psTraceSetDestination(FD); … … 231 229 } 232 230 233 fclose(fp);234 231 close(FD); 235 232 -
trunk/psLib/test/sys/verified/tst_psTrace.stderr
r4547 r5071 64 64 (1) This message should be displayed (beefface) 65 65 (2) This message should be displayed (beefface) 66 (0) This message should be displayed (beefface)67 (1) This message should be displayed (beefface)68 (2) This message should be displayed (beefface)69 66 70 67 ---> TESTPOINT PASSED (psTrace{psTrace()} | tst_psTrace.c)
Note:
See TracChangeset
for help on using the changeset viewer.
