IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 832


Ignore:
Timestamp:
Jun 2, 2004, 1:34:15 PM (22 years ago)
Author:
evanalst
Message:

Corrected test to set log destination both STDERR and STDOUT

Location:
trunk/psLib/test/sysUtils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psLogMsg03.c

    r584 r832  
    3232
    3333    printf("------------- psSetLogDestination(PS_LOG_TO_STDOUT) -------------\n");
    34     psSetLogDestination(PS_LOG_TO_STDERR);
     34    psSetLogDestination(PS_LOG_TO_STDOUT);
    3535    for (i=0;i<10;i++) {
    3636        psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
  • trunk/psLib/test/sysUtils/verified/tst_psLogMsg03.stderr

    r589 r832  
    33 <DATE> <TIME> <HOST> |W|main           |Hello World!  My level is 2
    44 <DATE> <TIME> <HOST> |I|main           |Hello World!  My level is 3
    5  <DATE> <TIME> <HOST> |A|main           |Hello World!  My level is 0
    6  <DATE> <TIME> <HOST> |E|main           |Hello World!  My level is 1
    7  <DATE> <TIME> <HOST> |W|main           |Hello World!  My level is 2
    8  <DATE> <TIME> <HOST> |I|main           |Hello World!  My level is 3
  • trunk/psLib/test/sysUtils/verified/tst_psLogMsg03.stdout

    r588 r832  
    88------------- psSetLogDestination(PS_LOG_TO_STDERR) -------------
    99------------- psSetLogDestination(PS_LOG_TO_STDOUT) -------------
     10 <DATE> <TIME> <HOST> |A|main           |
     11Hello World!  My level is 0
     12 <DATE> <TIME> <HOST> |E|main           |
     13Hello World!  My level is 1
     14 <DATE> <TIME> <HOST> |W|main           |
     15Hello World!  My level is 2
     16 <DATE> <TIME> <HOST> |I|main           |
     17Hello World!  My level is 3
    1018
    1119---> TESTPOINT PASSED (psLogMsg functions{psSetLogDestination()} | tst_psLogMsg03.c)
Note: See TracChangeset for help on using the changeset viewer.