https://github.com/lsof-org/lsof/commit/60e292652879a45ecaa20987e755e218c1396311 From 60e292652879a45ecaa20987e755e218c1396311 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Thu, 28 Apr 2022 08:03:02 +0900 Subject: [PATCH] [linux] test case: fix a typo Signed-off-by: Masatake YAMATO --- dialects/linux/tests/case-10-ux-socket-state.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialects/linux/tests/case-10-ux-socket-state.bash b/dialects/linux/tests/case-10-ux-socket-state.bash index 2c080d6..d58826e 100755 --- a/dialects/linux/tests/case-10-ux-socket-state.bash +++ b/dialects/linux/tests/case-10-ux-socket-state.bash @@ -4,7 +4,7 @@ name=$(basename $0 .bash) lsof=$1 report=$2 -if ! [ -r "/proc/$self/stack" ]; then +if ! [ -r "/proc/self/stack" ]; then echo "this platform doesn't allow to access /proc/\$PID/stack" >> $report exit 2 fi