FS/XFS testing framework
 help / color / mirror / Atom feed
From: Andrey Albershteyn <aalbersh@kernel.org>
To: fstests@vger.kernel.org
Cc: zlang@kernel.org, Andrey Albershteyn <aalbersh@kernel.org>
Subject: [PATCH] generic/270: kill fsstress by exact name
Date: Thu,  9 Jul 2026 13:18:47 +0200	[thread overview]
Message-ID: <20260709111847.2842394-1-aalbersh@kernel.org> (raw)

Running ./check with fsstress in the arguments (for example -x
fsstress_scrub) causes pkill to kill parent bash process executing the
tests. The test suite execution just stops with:

xfstests-start[4099970]: Terminated                 _run_seq 2>&1 | tee $tmp.out
xfstests-start[4099970]: Ran: generic/269 generic/270
xfstests-start[4102535]: Interrupted!
xfstests-start[4102538]: Interrupted!

Fix by using exact name, we can not use _pkill_fsstress here as this
test copies fsstress binary under custom name.

Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
---
 tests/generic/270 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/270 b/tests/generic/270
index 9ac829a7379f..73464f02d3d9 100755
--- a/tests/generic/270
+++ b/tests/generic/270
@@ -50,7 +50,7 @@ _workout()
 		sleep $enospc_time
 	done
 
-	_pkill -PIPE -f fsstress
+	_pkill -PIPE -f "$tmp.fsstress.bin"
 	wait $_FSSTRESS_PID
 	return 0
 }
-- 
2.54.0


             reply	other threads:[~2026-07-09 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 11:18 Andrey Albershteyn [this message]
2026-07-10  5:30 ` [PATCH] generic/270: kill fsstress by exact name Christoph Hellwig

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=20260709111847.2842394-1-aalbersh@kernel.org \
    --to=aalbersh@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=zlang@kernel.org \
    /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