From: | Thomas Deutschmann <whissi@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sys-devel/patch/files/ |
Date: | Thu, 29 Apr 2021 22:21:16 |
Message-Id: | 1619734868.c02ca61191198aacf2bd51c4d5a7b53b1cbb5ab9.whissi@gentoo |
1 | commit: c02ca61191198aacf2bd51c4d5a7b53b1cbb5ab9 |
2 | Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 | AuthorDate: Thu Apr 29 22:20:43 2021 +0000 |
4 | Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 | CommitDate: Thu Apr 29 22:21:08 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02ca611 |
7 | |
8 | sys-devel/patch: fix test suite when using dash |
9 | |
10 | Closes: https://bugs.gentoo.org/738810 |
11 | Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 | Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 | |
14 | .../patch/files/patch-2.7.6-fix-test-suite.patch | 19 ++++++++++++++++--- |
15 | 1 file changed, 16 insertions(+), 3 deletions(-) |
16 | |
17 | diff --git a/sys-devel/patch/files/patch-2.7.6-fix-test-suite.patch b/sys-devel/patch/files/patch-2.7.6-fix-test-suite.patch |
18 | index 3aff5c0f77b..5571209c493 100644 |
19 | --- a/sys-devel/patch/files/patch-2.7.6-fix-test-suite.patch |
20 | +++ b/sys-devel/patch/files/patch-2.7.6-fix-test-suite.patch |
21 | @@ -1,5 +1,6 @@ |
22 | -http://git.savannah.gnu.org/cgit/patch.git/commit/?id=f6bc5b14bd193859851d15a049bafb1007acd288 |
23 | -http://git.savannah.gnu.org/cgit/patch.git/commit/?id=074e2395f81d0ecaa66b71a6c228c70b49db72e5 |
24 | +https://git.savannah.gnu.org/cgit/patch.git/commit/?id=f6bc5b14bd193859851d15a049bafb1007acd288 |
25 | +https://git.savannah.gnu.org/cgit/patch.git/commit/?id=074e2395f81d0ecaa66b71a6c228c70b49db72e5 |
26 | +https://git.savannah.gnu.org/cgit/patch.git/commit/?id=7623b2dc0d1837ecfd58f32efc78e35834deeb38 |
27 | |
28 | --- a/tests/crlf-handling |
29 | +++ b/tests/crlf-handling |
30 | @@ -117,4 +118,16 @@ http://git.savannah.gnu.org/cgit/patch.git/commit/?id=074e2395f81d0ecaa66b71a6c2 |
31 | while test $# -gt 0 ; do |
32 | echo "$1" |
33 | shift |
34 | --- |
35 | + |
36 | +--- a/tests/test-lib.sh |
37 | ++++ b/tests/test-lib.sh |
38 | +@@ -113,7 +113,7 @@ cleanup() { |
39 | + exit $status |
40 | + } |
41 | + |
42 | +-if eval 'test -n "${BASH_LINENO[0]}" 2>/dev/null'; then |
43 | ++if ( eval 'test -n "${BASH_LINENO[0]}"' 2>/dev/null ); then |
44 | + eval ' |
45 | + _start_test() { |
46 | + printf "[${BASH_LINENO[2]}] %s -- " "$*" |
47 | + |