coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-8.13.29-43a9 on Linux/PowerPC


From: Bruno Haible
Subject: Re: coreutils-8.13.29-43a9 on Linux/PowerPC
Date: Sat, 8 Oct 2011 20:45:30 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Hi Jim,

> Does this fix it?
> 
> +cleanup()
> +{
> +  local delay="$1"
> +  rm -rf missing ||
> +    { sleep $delay; return 1; }
> +}
> +
> +# Try repeatedly to remove the temporary directory.
> +# This is normally unnecessary, because the containing directory will
> +# be removed by code from init.sh.  However, when this particular test
> +# is run on an NFS-mounted volume, sometimes init.sh's cleanup code
> +# fails because the directory is not yet really empty, perhaps because
> +# the tail process (reading missing/file) is not yet killed.
> +retry_delay_ cleanup .1 6

Yes, this reduces the failure probability to 0%.

Bruno
-- 
In memoriam Engin Ceber <http://en.wikipedia.org/wiki/Engin_Ceber>



reply via email to

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