bug-autoconf
[Top][All Lists]
Advanced

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

Re: CVS autoconf full testsuite failure under Tru64


From: Nicolas Joly
Subject: Re: CVS autoconf full testsuite failure under Tru64
Date: Wed, 29 Aug 2001 10:42:30 +0200
User-agent: Mutt/1.2.5i

On Wed, Aug 29, 2001 at 10:38:44AM +0200, Akim Demaille wrote:
> >>>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
> 
> Nicolas> Hi,
> 
> Hi Nicolas,
> 
> I really wonder what I would do if you were not there to check my
> mistakes :(
> 
> Nicolas> 1) Vendor `diff' cannot use `/dev/null', and fail back to
> Nicolas> `at-devnull' instead. But `at-*' files (at_data_files) are
> Nicolas> cleaned before each test, then `diff's on all tests are
> Nicolas> failing.
> 
> How dumb I was.  I'll move the life long Autotest files into AT-*, and
> keep the others in at-*.  Thanks!
> 
> Nicolas> 2) `date +%s' is not portable. At least Tru64 unix v5.1 (and
> Nicolas> Solaris v2.5.1) command does not understand it.
> 
> Nicolas> address@hidden [~/temp]> uname -a OSF1 medusa.sis.pasteur.fr
> Nicolas> V5.1 732 alpha address@hidden [~]> date "+%s" %s
> 
> But the code is not expected to be mandatory.  How exactly does it
> behave?

It prints `%s' and has an exit status of `0'. In that case,
`at_stop_time' is not a number, and `expr' calls in duration calc
complains.

> How, I see:
> 
> at_start_time=`date +%s` 2>/dev/null
> 
> should be written
> 
> at_start_time=`(date +%s) 2>/dev/null`
> 
> right?  I'll do that, gimme just a few minutes.

-- 
Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.



reply via email to

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