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: Jim Meyering
Subject: Re: coreutils-8.13.29-43a9 on Linux/PowerPC
Date: Sun, 09 Oct 2011 09:20:52 +0200

Bruno Haible wrote:
> 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%.

Good!  Thanks for confirming.



reply via email to

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