summaryrefslogtreecommitdiff
path: root/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/lsof/files/lsof-4.95.0-test-typo.patch')
-rw-r--r--sys-process/lsof/files/lsof-4.95.0-test-typo.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-process/lsof/files/lsof-4.95.0-test-typo.patch b/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
new file mode 100644
index 000000000000..f35b71e749fa
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
@@ -0,0 +1,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