File: 0006-testsuite-send-expected-stderr-to-stdout.patch

package info (click to toggle)
hddemux 0.4-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 292 kB
  • sloc: ansic: 741; sh: 734; makefile: 32
file content (21 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Fri, 31 Aug 2018 09:26:38 -0400
Subject: testsuite: send expected stderr to stdout

---
 testsuite | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite b/testsuite
index 30f5fbe..bc15db4 100755
--- a/testsuite
+++ b/testsuite
@@ -65,7 +65,7 @@ trap cleanup EXIT
 
 section "simple failing run"
 # hddemux with no arguments and no listening file descriptors should fail:
-if "$hddemux"; then
+if "$hddemux" 2>&1; then
     false
 fi