summaryrefslogtreecommitdiffstats
path: root/0003-fix-deprecated-tail-syntax.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-21 07:45:18 +0200
committerRemi Collet <remi@remirepo.net>2020-07-21 07:45:18 +0200
commit07293165a4f2d7cb15c86ed9a6055d2e12a29fbd (patch)
tree746daa87b8c51504153fc152e5979276c0bdc99b /0003-fix-deprecated-tail-syntax.patch
parentdd2acc83562ea5e8e35a93a0c6f37147e067d565 (diff)
Redis 6.0.6 - Released Mon Jul 20 09:31:30 IDT 2020
Upgrade urgency MODERATE: several bugs with moderate impact are fixed here. open https://github.com/redis/redis/pull/7543 fix deprecated tail syntax
Diffstat (limited to '0003-fix-deprecated-tail-syntax.patch')
-rw-r--r--0003-fix-deprecated-tail-syntax.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/0003-fix-deprecated-tail-syntax.patch b/0003-fix-deprecated-tail-syntax.patch
new file mode 100644
index 0000000..8f50930
--- /dev/null
+++ b/0003-fix-deprecated-tail-syntax.patch
@@ -0,0 +1,22 @@
+From b5fc5d0a1bc4d959995688c8b363daa859c44036 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 21 Jul 2020 07:33:12 +0200
+Subject: [PATCH] Fix deprecated syntax
+
+---
+ tests/support/util.tcl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/support/util.tcl b/tests/support/util.tcl
+index fce3ffd1858..69ea675dca5 100644
+--- a/tests/support/util.tcl
++++ b/tests/support/util.tcl
+@@ -119,7 +119,7 @@ proc wait_for_log_message {srv_idx pattern from_line maxtries delay} {
+ set retry $maxtries
+ set stdout [srv $srv_idx stdout]
+ while {$retry} {
+- set result [exec tail +$from_line < $stdout]
++ set result [exec tail -n +$from_line < $stdout]
+ set result [split $result "\n"]
+ foreach line $result {
+ if {[string match $pattern $line]} {