[M3devel] Looking for CM3 Tinderbox regression test participants, was: Re: M3 concerns
Olaf Wagner
wagner at elegosoft.com
Mon Feb 18 11:34:34 CET 2008
Quoting Tony Hosking <hosking at cs.purdue.edu>:
> Solaris does not have %s for date -- we need an alternative for that
> usage in tinderbox-build.sh.
You're probably talking about a different problem than I thought,
at least
% date -u +'%Y-%m-%d-%H-%M-%S'
2008-02-18-10-00-34
blnsce005 [/advantage/sm/yd/sdf/sm/impl] demx0x65
% type date
date is hashed (/bin/date)
blnsce005 [/advantage/sm/yd/sdf/sm/impl] demx0x65
% uname -a
SunOS blnsce005 5.9 Generic_118558-33 sun4u sparc SUNW,Sun-Fire-V490
seems to be working for me on Solaris.
Ah, I've found it now: date +%s.
Michael says it's not possible to do that with Sun's data.
Openpkg for example comes with gdate, which understands the %s:
% gdate "+%s"
1203329509
blnsce005 [/advantage/sm/yd/sdf/sm/impl] demx0x65
% type gdate
gdate is hashed (/home/nightmar/openpkg-2.5/bin/gdate)
gdate is part of the GNU coreutils. You can find it at
http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml
http://www.sunfreeware.com/programlistsparc10.html#coreutils
Hope this helps,
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list