From: Zorro Lang Date: Sun, 22 Jun 2025 20:39:46 +0000 (+0800) Subject: common/rc: remove useless _pgrep funcion X-Git-Tag: v2025.07.13~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d06bd62c4c4258d1cf63d94a2bf046feb846ea25;p=xfstests-dev.git common/rc: remove useless _pgrep funcion The _pgrep() function isn't used anymore, remove it. Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/common/rc b/common/rc index b7e95f03..3c5a54a6 100644 --- a/common/rc +++ b/common/rc @@ -36,16 +36,6 @@ _pkill() pkill "$@" } -# Find only the test processes started by this test -_pgrep() -{ - if [ "$FSTESTS_ISOL" = "setsid" ]; then - pgrep --session 0 "$@" - else - pgrep "$@" - fi -} - # Common execution handling for fsstress invocation. # # We need per-test fsstress binaries because of the way fsstress forks and