Changeset 12512 for trunk/psLib/test/sys/tap_psTrace.c
- Timestamp:
- Mar 19, 2007, 5:31:39 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sys/tap_psTrace.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tap_psTrace.c
r10810 r12512 49 49 50 50 // psTraceSetDestination(stderr); 51 psTraceSetDestination(2);51 (void)psTraceSetDestination(2); 52 52 53 53 for (i=0;i<10;i++) { … … 89 89 90 90 // psTraceSetDestination(stderr); 91 psTraceSetDestination(2);91 (void)psTraceSetDestination(2); 92 92 (void)psTraceSetLevel(".A.B.C.D.E", 5); 93 93 … … 107 107 psTraceReset(); 108 108 // psTraceSetDestination(stderr); 109 psTraceSetDestination(2);110 psTraceSetLevel(".A.B", 2);111 psTraceSetLevel(".A.B.C.D.E", 5);112 psTracePrintLevels(); 113 psTraceSetLevel(".A.B", 10);109 (void)psTraceSetDestination(2); 110 (void)psTraceSetLevel(".A.B", 2); 111 (void)psTraceSetLevel(".A.B.C.D.E", 5); 112 psTracePrintLevels(); 113 (void)psTraceSetLevel(".A.B", 10); 114 114 psTracePrintLevels(); 115 115 … … 137 137 138 138 // psTraceSetDestination(stderr); 139 psTraceSetDestination(2);139 (void)psTraceSetDestination(2); 140 140 141 141 for (i=0;i<10;i++) { … … 182 182 if (nb == 0) 183 183 // psTraceSetDestination(stdout); 184 psTraceSetDestination(1);184 (void)psTraceSetDestination(1); 185 185 if (nb == 1) 186 186 // psTraceSetDestination(stderr); 187 psTraceSetDestination(2);187 (void)psTraceSetDestination(2); 188 188 if (nb == 2) 189 psTraceSetDestination(0); //NULL189 (void)psTraceSetDestination(0); //NULL 190 190 if (nb == 3) 191 psTraceSetDestination(FD);191 (void)psTraceSetDestination(FD); 192 192 193 193 (void)psTraceSetLevel(".", 4); … … 226 226 { 227 227 // psTraceSetDestination(stderr); 228 psTraceSetDestination(2);228 (void)psTraceSetDestination(2); 229 229 230 230 (void)psTraceSetLevel(".", 9); … … 277 277 { 278 278 // psTraceSetDestination(stderr); 279 psTraceSetDestination(2);279 (void)psTraceSetDestination(2); 280 280 281 281 (void)psTraceSetLevel(".", 9);
Note:
See TracChangeset
for help on using the changeset viewer.
