summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-10-02 20:00:00 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-10-02 20:11:52 +0200
commit26e98ee46c47a1304a9e39010b32b7a846191ed9 (patch)
tree360b780d1245015a4e5c990b7e533b7f37df865e /net-ftp/atftp/files/atftp-fix-test.patch
parentnet-ftp/atftp: add 0.8.0 (diff)
downloadgentoo-26e98ee46c47a1304a9e39010b32b7a846191ed9.tar.gz
gentoo-26e98ee46c47a1304a9e39010b32b7a846191ed9.tar.bz2
gentoo-26e98ee46c47a1304a9e39010b32b7a846191ed9.zip
net-ftp/atftp: update EAPI 7 -> 8, drop BDEPEND, add fix for test.sh
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-ftp/atftp/files/atftp-fix-test.patch')
-rw-r--r--net-ftp/atftp/files/atftp-fix-test.patch12
1 files changed, 9 insertions, 3 deletions
diff --git a/net-ftp/atftp/files/atftp-fix-test.patch b/net-ftp/atftp/files/atftp-fix-test.patch
index 67845c244a2e..1b2eba57c49f 100644
--- a/net-ftp/atftp/files/atftp-fix-test.patch
+++ b/net-ftp/atftp/files/atftp-fix-test.patch
@@ -1,11 +1,17 @@
+From f7ccbf188cd682f7210a2253187e460f0fe5d647 Mon Sep 17 00:00:00 2001
+From: Martin Dummer <martin.dummer@gmx.net>
+Date: Sun, 2 Oct 2022 19:49:44 +0200
+Subject: [PATCH 2/2] test.sh: redirect stderr to /dev/null when counting lines
+
+To avoid counting stderr lines, redirect the output to /dev/null.
--- a/test/test.sh
+++ b/test/test.sh
-@@ -575,7 +575,7 @@
+@@ -575,7 +575,7 @@ stop_and_clean(){
echo
## +3 is for "Test tsize option ..." and "Test PCRE mapped download ... "
## +2 for diskspace tests:
- local M=$(grep "/tmp/" "$TDIR"/multicast*.log | wc -l)
-+ local M=$(grep "/tmp/" "$TDIR"/multicast*.log 2>/dev/null | wc -l)
++ local M=$(grep "/tmp/" "$TDIR"/multicast*.log 2> /dev/null | wc -l)
+ local D
$INTERACTIVE && D=2
cat <<EOF
- Expected: