summaryrefslogtreecommitdiff
path: root/net/libsrtp2/files/patch-test_rtpw__test.sh
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2024-02-25 19:20:22 +0100
committerTijl Coosemans <tijl@FreeBSD.org>2024-02-29 21:21:38 +0100
commit552266cdfd5186288320712f3b295211304faa5c (patch)
tree0c6bc6f0ecbc6b0b7028e173194b8f50a8c309ee /net/libsrtp2/files/patch-test_rtpw__test.sh
parentMk/*: Build with a clean environment (diff)
net/libsrtp2: Update to 2.6.0 and switch to meson
Diffstat (limited to 'net/libsrtp2/files/patch-test_rtpw__test.sh')
-rw-r--r--net/libsrtp2/files/patch-test_rtpw__test.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/net/libsrtp2/files/patch-test_rtpw__test.sh b/net/libsrtp2/files/patch-test_rtpw__test.sh
new file mode 100644
index 000000000000..cce41c37ca8c
--- /dev/null
+++ b/net/libsrtp2/files/patch-test_rtpw__test.sh
@@ -0,0 +1,38 @@
+--- test/rtpw_test.sh.orig 2024-02-24 08:29:39 UTC
++++ test/rtpw_test.sh
+@@ -87,7 +87,7 @@ sleep 1
+ sleep 1
+
+ # verify that the background job is running
+-ps -e | grep -q $receiver_pid
++ps x | grep -q $receiver_pid
+ retval=$?
+ echo $retval
+ if [ $retval != 0 ]; then
+@@ -104,7 +104,7 @@ echo $0 ": sender PID = $sender_pid"
+ echo $0 ": sender PID = $sender_pid"
+
+ # verify that the background job is running
+-ps -e | grep -q $sender_pid
++ps x | grep -q $sender_pid
+ retval=$?
+ echo $retval
+ if [ $retval != 0 ]; then
+@@ -136,7 +136,7 @@ sleep 1
+ sleep 1
+
+ # verify that the background job is running
+-ps -e | grep -q $receiver_pid
++ps x | grep -q $receiver_pid
+ retval=$?
+ echo $retval
+ if [ $retval != 0 ]; then
+@@ -153,7 +153,7 @@ echo $0 ": sender PID = $sender_pid"
+ echo $0 ": sender PID = $sender_pid"
+
+ # verify that the background job is running
+-ps -e | grep -q $sender_pid
++ps x | grep -q $sender_pid
+ retval=$?
+ echo $retval
+ if [ $retval != 0 ]; then