summaryrefslogtreecommitdiff
path: root/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
blob: f35b71e749fa0f16e5f8cb1a5b0678898c45a9ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://github.com/lsof-org/lsof/commit/60e292652879a45ecaa20987e755e218c1396311

From 60e292652879a45ecaa20987e755e218c1396311 Mon Sep 17 00:00:00 2001
From: Masatake YAMATO <yamato@redhat.com>
Date: Thu, 28 Apr 2022 08:03:02 +0900
Subject: [PATCH] [linux] test case: fix a typo

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
---
 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