[LTP] [PATCH v2 1/1] rpc: TCONF when tests aren't compiled + remove kill warning

Xiao Yang ice_yangxiao@163.com
Thu May 14 18:05:58 CEST 2020


On 5/14/20 10:47 PM, Petr Vorel wrote:
> Hi,
>
>> with this implementation (suggested by Alexey), we get TCONF twice. It's
>> a bit strange, but I'll keep it, because I like that required binary is
>> printed:
>> rpc_test 1 TCONF: 'tirpc_rpcb_getaddr' not found
>> rpc_test 1 TCONF: LTP compiled without TI-RPC support?
> Please any comment for 2x TCONF. It's a bit strange, but just a tiny detail.
> I'd like to have this fix in the release.

Hi Petr,

Why don't you use tst_cmd_available? like this:

for i in $CLIENT $SERVER; do

     tst_cmd_available $i || tst_brk TCONF "$i not found.  LTP compiled 
without TI-RPC support?"

done

Best Regards,

Xiao Yang

>
> Kind regards,
> Petr
>
>



More information about the ltp mailing list