From 7748146936014bb364c51e2547982e9f59a5f31a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Oct 2022 01:13:47 +0100 Subject: gentoo auto-resync : 03:10:2022 - 01:13:47 --- net-ftp/atftp/files/atftp-fix-test.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 net-ftp/atftp/files/atftp-fix-test.patch (limited to 'net-ftp/atftp/files/atftp-fix-test.patch') diff --git a/net-ftp/atftp/files/atftp-fix-test.patch b/net-ftp/atftp/files/atftp-fix-test.patch new file mode 100644 index 000000000000..1b2eba57c49f --- /dev/null +++ b/net-ftp/atftp/files/atftp-fix-test.patch @@ -0,0 +1,17 @@ +From f7ccbf188cd682f7210a2253187e460f0fe5d647 Mon Sep 17 00:00:00 2001 +From: Martin Dummer +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 @@ 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 D + $INTERACTIVE && D=2 + cat <