Hi Clythie,
Maybe Andre or even Joerg will answer and complete me in meantime :-)
######### wait until Testtool has
finished & closed
- while ps -p $testtoolpid > /dev/null ;
+ while ps -p $testtoolpid | grep
$testtoolpid > /dev/null ;
while some environment variable does exist ( the content is not
displayed on the stdout, but redirected to /dev/null )
do
sleep 2
i=$((i+2))
I don't understand what to do with the script above. :(
I'll try, shortly ( please correct me if I forgot something or if I'm
wrong) :
The variable $testtoolpid , when existing, means a test is not
completed.
Some process/signals need more time before they return the info they
are completed and ok.
Wait for them is mandatory, and sleep n (means ' wait n seconds
before to continue ' ) does help or that job.
Regards,
Eric
BTW : for the issue you met recently, are you sure tu use the correct
shell ? ( bash here )
% cp /Users/maho/Desktop/OpenOffice.org\ 2.0.app/Contents/MacOS/
program/soffice /Users/maho/Desktop/OpenOffice.org\ 2.0.app/
Contents/MacOS/program/testtool
... means you are using tcsh , not bash, and this could explain all
the strange errors you reported