Accepting request 931421 from Base:System
OBS-URL: https://build.opensuse.org/request/show/931421 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gawk?expand=0&rev=48
This commit is contained in:
commit
44c11c9d0f
55
gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch
Normal file
55
gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
From 0ed67a4f4f043acc08e3982a2648e3082e1f245a Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Arnold D. Robbins" <arnold@skeeve.com>
|
||||||
|
Date: Sun, 14 Nov 2021 09:33:44 +0200
|
||||||
|
Subject: [PATCH] Disable racy test in test/iolint.awk.
|
||||||
|
|
||||||
|
---
|
||||||
|
test/iolint.awk | 13 ++++++++-----
|
||||||
|
test/iolint.ok | 6 +-----
|
||||||
|
3 files changed, 14 insertions(+), 10 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/test/iolint.awk b/test/iolint.awk
|
||||||
|
index 257678ed..58fd746f 100644
|
||||||
|
--- a/test/iolint.awk
|
||||||
|
+++ b/test/iolint.awk
|
||||||
|
@@ -55,12 +55,15 @@ BEGIN {
|
||||||
|
print close("cat")
|
||||||
|
fflush()
|
||||||
|
|
||||||
|
+ # 11/2021: Disable this test since it's a race condition
|
||||||
|
+ # and fails intermittently on some systems.
|
||||||
|
+ #
|
||||||
|
# `%.*s' used for input pipe and output pipe
|
||||||
|
- "echo hello" | getline junk
|
||||||
|
- print "hello" | "echo hello"
|
||||||
|
- print close("echo hello")
|
||||||
|
- print close("echo hello")
|
||||||
|
- fflush()
|
||||||
|
+ # "echo hello" | getline junk
|
||||||
|
+ # print "hello" | "echo hello"
|
||||||
|
+ # print close("echo hello")
|
||||||
|
+ # print close("echo hello")
|
||||||
|
+ # fflush()
|
||||||
|
|
||||||
|
# `%.*s' used for output file and output pipe"
|
||||||
|
BINMODE = 2
|
||||||
|
diff --git a/test/iolint.ok b/test/iolint.ok
|
||||||
|
index fbf514c2..620a70f3 100644
|
||||||
|
--- a/test/iolint.ok
|
||||||
|
+++ b/test/iolint.ok
|
||||||
|
@@ -23,11 +23,7 @@ gawk: iolint.awk:53: warning: `cat' used for output file and output pipe
|
||||||
|
0
|
||||||
|
hello
|
||||||
|
0
|
||||||
|
-gawk: iolint.awk:60: warning: `echo hello' used for input pipe and output pipe
|
||||||
|
-hello
|
||||||
|
-0
|
||||||
|
-0
|
||||||
|
-gawk: iolint.awk:68: warning: `cksum' used for output file and output pipe
|
||||||
|
+gawk: iolint.awk:71: warning: `cksum' used for output file and output pipe
|
||||||
|
3015617425 6
|
||||||
|
0
|
||||||
|
0
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 14 17:10:48 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- disable racy iolint tests boo#1192521
|
||||||
|
add gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 31 11:36:18 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sun Oct 31 11:36:18 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|||||||
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring
|
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring
|
||||||
Source4: gawk.rpmlintrc
|
Source4: gawk.rpmlintrc
|
||||||
|
Patch0: gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch
|
||||||
Provides: awk
|
Provides: awk
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user