[Gluster-devel] rpc-coverage.t questions

Harshavardhana harsha at harshavardhana.net
Fri Aug 29 05:10:34 UTC 2014


> In test_fstat():
>      msg=$(sh -c 'tail -f $PFX/dir/file --pid=$$ & sleep 1 && echo hooha
>> $PFX/dir/file && sleep 1');
>
> NetBSD does not have the --pid option. I propose this change, which
> seems to obtain the same result with less complexity. Opinion?
>
> -    msg=$(sh -c 'tail -f $PFX/dir/file --pid=$$ & sleep 1 && echo hooha
>> $PFX/dir/file && sleep 1');
> +    echo hooha > $PFX/dir/file
> +    sleep 1
> +    msg=$(sh -c 'tail $PFX/dir/file')
>
>

Same changes i did for FreeBSD, these are applicable for OSX too - Thanks +1 :-)

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes


More information about the Gluster-devel mailing list