IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5071 for trunk/psLib/test/sys


Ignore:
Timestamp:
Sep 19, 2005, 2:31:22 PM (21 years ago)
Author:
drobbin
Message:

Inserted Gene's code for psTrace in and fixed psTraceV to use va_arg

Location:
trunk/psLib/test/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tst_psTrace.c

    r4951 r5071  
    188188static psS32 testTrace04(void)
    189189{
    190     FILE *fp;
    191190    int FD;
    192191    psS32 nb = 0;
     
    194193    //    printf("\nFD = %d\n", FD);
    195194    //    fp = fopen("tst_psTrace02_OUT", "w");
    196     fp = fdopen(FD, "w");
    197195    for (nb = 0 ; nb<4;nb++) {
    198196        if (nb == 0)
     
    203201            psTraceSetDestination(2);
    204202        if (nb == 2)
    205             psTraceSetDestination(-1); //NULL
     203            psTraceSetDestination(0); //NULL
    206204        if (nb == 3)
    207205            psTraceSetDestination(FD);
     
    231229    }
    232230
    233     fclose(fp);
    234231    close(FD);
    235232
  • trunk/psLib/test/sys/verified/tst_psTrace.stderr

    r4547 r5071  
    6464     (1) This message should be displayed (beefface)
    6565     (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)
    6966
    7067---> TESTPOINT PASSED (psTrace{psTrace()} | tst_psTrace.c)
Note: See TracChangeset for help on using the changeset viewer.