info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sanity.sh patch


From: Donald Sharp
Subject: Re: sanity.sh patch
Date: Fri, 3 Nov 2000 15:34:11 -0500
User-agent: Mutt/1.2.4i

touch --

test importc[Line 5186] -

      # If I'm correctly reading the Single Unix Specification,
      # version 2, then "touch -t 197107040343" or "touch -t 203412251801"
      # should work.  But GNU touch seems to have other ideas.
      # I sort of wonder if this is lossage by the standards bodies,
      # I'm not sure.
      # Note that some versions of touch when used without -t don't handle
      # y2k and/or set the seconds reliably.
      # We should probably find a different way of doing this.
      touch 0704034371 bdir/subdir/file1
      touch 1225180134 cdir/cfile


touch was creating files called 0704034371 and 1225180134.  Which
were causing the test to fail.

I just poked around some more.

sanity.sh was picking up touch from:

/usr/ucb/touch

I imagine that you are using /usr/bin/touch, but I made
mine pick up touch from my ~/bin directory( which is gnu ).

donald

On Fri, Nov 03, 2000 at 03:20:54PM -0500, Larry Jones wrote:
> Donald Sharp writes:
> > 
> > sanity.sh uses features of 'touch' and 'sed' that are gnu
> > specific( at least they don't seem to work too well on my non
> > gnu toolchain sun box here ).
> 
> I don't see anything GNU specific and the nightly testing works just
> fine on SunOS 5.6 (Solaris 2.6?) with the system touch and sed.  Could
> you be a bit more specific about the problems you're seeing?
> 
> -Larry Jones
> 
> I'm a genius. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]