Date: Tue, 13 May 2025 12:42:44 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f7fa53cead2e - releng/14.3 - stress2: exlock2.sh: Fix impact of previous '-U' removal Message-ID: <202505131242.54DCgiZu072726@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch releng/14.3 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=f7fa53cead2ee93a4f688537375e0f794533db36 commit f7fa53cead2ee93a4f688537375e0f794533db36 Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-05-12 08:34:05 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-05-13 12:41:33 +0000 stress2: exlock2.sh: Fix impact of previous '-U' removal In commit "stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change" (1265d3b07eaa), I forgot that '-U' also has the side-effect of implying '-x' by default. Now that '-U' has been removed, make '-x' explicit. Fixes: 1265d3b07eaa ("stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change") MFC after: 1 hour Sponsored by: The FreeBSD Foundation (cherry picked from commit f6e826891760a34ef69e1122da0ee378f7caf454) (cherry picked from commit da6b04cd404341d494e2c89e3058ccaea5ca8a79) Approved by: re (implicit) --- tools/test/stress2/misc/exlock2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/stress2/misc/exlock2.sh b/tools/test/stress2/misc/exlock2.sh index 292e60e8d9f6..a9cd886755f4 100755 --- a/tools/test/stress2/misc/exlock2.sh +++ b/tools/test/stress2/misc/exlock2.sh @@ -153,7 +153,7 @@ out: } #if defined(DEBUG) if (e != 0) { - system("ps | grep -v grep | grep /tmp/exlock2 | "\ + system("ps -x | grep -v grep | grep /tmp/exlock2 | "\ "awk '{print $1}' | xargs procstat -f"); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505131242.54DCgiZu072726>