[libvorbis] 01/01: Fix autopkgtest script by redirecting stderr to log file.

Petter Reinholdtsen pere at moszumanska.debian.org
Wed Feb 10 19:35:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository libvorbis.

commit c13aff03f78651622d4381bc3271f3b2609a5593
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Feb 10 19:35:49 2016 +0000

    Fix autopkgtest script by redirecting stderr to log file.
---
 debian/tests/test-examples | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/test-examples b/debian/tests/test-examples
index 944d23d..bbee6cf 100755
--- a/debian/tests/test-examples
+++ b/debian/tests/test-examples
@@ -22,7 +22,7 @@ for f in /usr/share/doc/libvorbis-dev/examples/*.c.gz; do
     ${CC} -o example $(basename $f .gz) \
 	-logg -lvorbisenc -lvorbisfile -lvorbis -lm
 
-    if cat testinput.ogg | ./example testinput.ogg > testoutput ; then
+    if cat testinput.ogg | ./example testinput.ogg > testoutput 2>&1 ; then
 	echo "success running $f"
     else
 	echo "error running $f"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/libvorbis.git



More information about the pkg-xiph-commits mailing list