Changeset d1f5054 for tests


Ignore:
Timestamp:
Aug 14, 2024, 11:55:20 AM (17 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
960665c
Parents:
26d40a1 (diff), 2870cb6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
tests
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/time.cfa

    r26d40a1 rd1f5054  
    1010// Created On       : Tue Mar 27 17:24:56 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jul 19 08:06:59 2024
    13 // Update Count     : 75
     12// Last Modified On : Tue Aug 13 09:09:47 2024
     13// Update Count     : 76
    1414//
    1515
     
    1818#include <stdlib.h>                                                                             // putenv
    1919
    20 extern "C" size_t malloc_unfreed() { return 1024; }             // guess at unfreed storage from putenv
     20extern "C" size_t malloc_unfreed() { return 2048; }             // guess at unfreed storage from putenv/tzset
    2121
    2222int main() {
    2323        // Set fixed time location to obtain repeatable output where ever run.
    24         putenv( "TZ=America/Toronto" );                                         // set fixed time zone
     24        putenv( "TZ=America/Toronto" );                                         // pick fixed time zone
    2525        // tzset has the stupidest interface I have ever seen.
    2626        tzset();                                                                                        // set time zone
Note: See TracChangeset for help on using the changeset viewer.