qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-block] [PATCH 2/2] iotests: avoid broken pipe wit


From: John Snow
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 2/2] iotests: avoid broken pipe with certtool
Date: Mon, 18 Mar 2019 19:16:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0


On 2/19/19 11:37 AM, Eric Blake wrote:
> On 2/19/19 10:21 AM, Daniel P. Berrangé wrote:
> 
>>>> +tls_certtool()
>>>> +{
>>>> +    certtool "$@" 1>certtool.log 2>&1
>>>> +    if test "$?" = 0; then
>>>> +      head -1 certtool.log
>>>> +    else
>>>> +      cat certtool.log
>>>> +    fi
>>>> +    rm -f certtool.log
>>>> +}
>>>
>>> I assume this is running in a unique directory so that there can not be
>>> a clash with a test running in parallel? Otherwise I'd recommend an
>>> mktemp file name here...
>>
>> Hmm, could be a problem.  Whatever happened to the plan to make every
>> iotests run in a private directory ? Did that ever get done ?
> 
> Nope, still not done :(
> 
> Jeff left Red Hat, and so far no one else has revived his series.
> Volunteers?
> 

I might work on this during the freeze as a testing enhancement.

--js



reply via email to

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