[LTP] tst_net.sh: tst_rhost_run(): Go to LTP temporary directory first

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Fri May 15 17:16:28 CEST 2026


Hi Petr,

On Fri, 15 May 2026 15:36:13 +0200, Petr Vorel wrote:
> tst_net.sh: tst_rhost_run(): Go to LTP temporary directory first

> +	[ "$TST_TMPDIR_RHOST" = 1 ] && cmd="cd $TST_TMPDIR; $cmd"

Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>

Pre-existing issues noticed in the surrounding code (not introduced
by this patch):

- testcases/lib/tst_net.sh:1216 — "workaround" keyword in tst_res_ TINFO
  message; not a G1 violation but worth a note if ever revisiting that path.

---
Note:

Our agent completed the review of the patch. The agent can sometimes
produce false positives although often its findings are genuine. If you
find issues with the review, please comment this email or ignore the
suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list