public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Petr Vorel <pvorel@suse.cz>
Cc: lufei <lufei@uniontech.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v3] Rewrite ftrace_regression tests with new C API
Date: Tue, 31 Mar 2026 20:28:05 +0200	[thread overview]
Message-ID: <acwSNTzXaBQZmQmT@yuki.lan> (raw)
In-Reply-To: <20260331075610.GC5254@pevik>

Hi!
> > +	for (i = 0; i < LOOP; i++)
> > +		tst_cmd((const char *[]){"ls", "-l", "/proc", NULL},
> > +			"/dev/null", "/dev/null", 0);
> It should probably be SAFE_CMD().
> 
> @Cyril are we ok with 'ls' as external dependency, or do we want to have test
> to have simple binary helper run as child to not depend on userspace?

Hmm, I guess that even tooling such as rapido[1] have ls in the initrd
so I guess that ls is just going to be there.

[1] https://github.com/rapido-linux/rapido

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-03-31 18:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04  8:05 [LTP] [PATCH 1/2] Rewrite ftrace_regression01.sh with new C API lufei
2026-03-04  8:05 ` [LTP] [PATCH 2/2] Rewrite ftrace_regression02.sh " lufei
2026-03-27 10:34 ` [LTP] [PATCH 1/2] Rewrite ftrace_regression01.sh " Andrea Cervesato via ltp
2026-03-30  7:15 ` [LTP] [PATCH v2] Rewrite ftrace_regression tests " lufei
2026-03-30  8:39   ` Andrea Cervesato via ltp
2026-03-31  1:55   ` [LTP] [PATCH v3] " lufei
2026-03-31  7:53     ` Petr Vorel
2026-03-31  7:56     ` Petr Vorel
2026-03-31 18:28       ` Cyril Hrubis [this message]
2026-03-31 10:01     ` [LTP] [PATCH v4] " lufei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=acwSNTzXaBQZmQmT@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=lufei@uniontech.com \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox