Closed GoogleCodeExporter closed 9 years ago
When I have a working Solaris VM, I check it out. It worked the last time I
checked on solaris 10, but that was
some time ago.
Original comment by Louwrentius
on 25 Mar 2010 at 1:18
Ok. Here's a diff of my fix:
72c72,73
< START_PPSS="$(date +%s)"
---
> #START_PPSS="$(date +%s)"
> START_PPSS="$(perl -e 'print time')"
1010c1011,1012
< sleep 0.1
---
> #sleep 0.1
> perl -e "select(undef, undef, undef, 0.1)"
1178c1180,1181
< sleep "0.$NUMBER"
---
> #sleep "0.$NUMBER"
> perl -e "select(undef, undef, undef, 0.$NUMBER)"
1543c1546,1547
< STOP_PPSS="$(date +%s)"
---
> #STOP_PPSS="$(date +%s)"
> STOP_PPSS="$(perl -e 'print time')"
1720c1724,1725
< BEFORE="$(date +%s)"
---
> #BEFORE="$(date +%s)"
> BEFORE="$(perl -e 'print time')"
1732c1737,1738
< AFTER="$(date +%s)"
---
> #AFTER="$(date +%s)"
> AFTER="$(perl -e 'print time')"
You could probably be a bit more clever than I by assigning the date- and
fractional-
sleep- commands to be used to variables at startup, after checking for perl.
Original comment by walk...@walkerj.de
on 25 Mar 2010 at 11:34
Thanx for the patch, but I don't want to depend on Perl so I found another
solution that does the same thing.
Original comment by Louwrentius
on 26 Mar 2010 at 10:54
Original issue reported on code.google.com by
walk...@walkerj.de
on 23 Mar 2010 at 7:27