[vorbis-tools] 02/03: Correct test to use just built oggenc as well as vcut.

Petter Reinholdtsen pere at moszumanska.debian.org
Thu May 26 08:25:05 UTC 2016


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

pere pushed a commit to branch master
in repository vorbis-tools.

commit 02480b319f80e1f621306b8375f01c8e91f9e389
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Thu May 26 10:22:57 2016 +0200

    Correct test to use just built oggenc as well as vcut.
---
 debian/tests/test-vcut-crash | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/tests/test-vcut-crash b/debian/tests/test-vcut-crash
index 27d500e..3290b6b 100755
--- a/debian/tests/test-vcut-crash
+++ b/debian/tests/test-vcut-crash
@@ -17,7 +17,6 @@ trap at_exit INT TERM EXIT
 set -x
 
 cd $WORKDIR
-env |grep vorb
 
 if type valgrind >/dev/null 2>&1 ; then
     VALGRIND=valgrind
@@ -28,7 +27,12 @@ if [ -x ${BUILDDIR}/vcut/vcut ] ; then
     VCUT=${BUILDDIR}/vcut/vcut
 fi
 
-head -c 500000 /dev/zero | oggenc -Q -r -o 1.ogg -
+OGGENC=oggenc
+if [ -x ${BUILDDIR}/oggenc/oggenc ] ; then
+    OGGENC=${BUILDDIR}/oggenc/oggenc
+fi
+
+head -c 500000 /dev/zero | $OGGENC -Q -r -o 1.ogg -
 
 if $VALGRIND $VCUT 1.ogg 2.ogg 3.ogg +1 ; then
     echo "success: vcut worked"

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



More information about the pkg-xiph-commits mailing list