On 24/03/2025 19:19, Jakub Kicinski wrote:
> On Mon, 17 Mar 2025 14:31:49 +0200 Gal Pressman wrote:
>> +    try:
>> +        cmd("hash socat", host=cfg.remote)
>> +    except CmdExitFailure:
>> +        raise KsftSkipEx("socat not installed on remote")
> 
> I'm not familiar with "hash", would using
> 
>       cfg.require_cmd("socat", remote=True)
> 
> work? IOW we do have a helper for this sort of checking.

Nice, I should've seen this helper, will change, thanks.

Reply via email to