IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2004, 9:34:28 AM (22 years ago)
Author:
desonia
Message:

enhanced the parsing of host to search for the hostname of the current machine
explicitly, not just single word with '.' in it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/FullUnitTest

    r1131 r1198  
    1919#  RETURN : integer number of tests which failed
    2020#
    21 #  $Revision: 1.9 $  $Name: not supported by cvs2svn $
    22 #  $Date: 2004-06-29 23:52:32 $
     21#  $Revision: 1.10 $  $Name: not supported by cvs2svn $
     22#  $Date: 2004-07-08 19:34:18 $
    2323#
    2424#  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    552552   open(MODFILE, "> temp/$fileName.stdout.mod");
    553553   # Replace the variable data, time and host information with constants
     554   $hostname = `hostname`;
     555   chop $hostname;
    554556   while( <OUTFILE> ) {
    555557       s/\d+:\d+:\d+/ <DATE> /;
    556558       s/\s+\d+:\d+:\d+\w/ <TIME> /;
    557        s/\|\s*[\w\.\-\_]+\s*\|/<HOST> |/;
     559       s/$hostname/<HOST>/;
    558560       # Filter lines with *** malloc.  This is an artifact of Mac testing of
    559561       # memory functions
     
    575577       s/\d+:\d+:\d+/ <DATE> /;
    576578       s/\s+\d+:\d+:\d+\w/ <TIME> /;
    577        s/\|\s*[\w\.\-\_]+\s*\|/<HOST> |/;
     579       s/$hostname/<HOST>/;
    578580       # Filter lines with *** malloc.  This is an artifact of Mac testing of
    579581       # memory functions
Note: See TracChangeset for help on using the changeset viewer.