IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1276


Ignore:
Timestamp:
Jul 22, 2004, 1:33:31 PM (22 years ago)
Author:
evanalst
Message:

Added step to verify program execution doesn't stop if an invalid filename

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

Legend:

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

    r1151 r1276  
    5353    fclose(file);
    5454
     55    printf("--------------- psLogSetDestination(""file:/eva/log.txt"") ----------\n");
     56    psLogSetDestination("file:/eva/log.txt");
     57    for ( i=0;i<10;i++) {
     58        psLogMsg(__func__, i, "Hello World! My level is %d\n", i);
     59    }
     60
    5561    printFooter(stdout,
    5662                "psLogMsg functions",
     
    6167        psAbort(__func__,"Memory Leaks!");
    6268    }
    63     psMemCheckCorruption(1);
     69    psMemCheckCorruption(true);
    6470
    6571    return(!testStatus);
  • trunk/psLib/test/sysUtils/verified/tst_psLogMsg03.stdout

    r1198 r1276  
    1818 <DATE> <TIME> |<HOST>|W|           main|Hello World!  My level is 2
    1919 <DATE> <TIME> |<HOST>|I|           main|Hello World!  My level is 3
     20--------------- psLogSetDestination(file:/eva/log.txt) ----------
    2021
    2122---> TESTPOINT PASSED (psLogMsg functions{psLogSetDestination()} | tst_psLogMsg03.c)
Note: See TracChangeset for help on using the changeset viewer.