[SCM] x264/master: autopkgtest: Use $ADTTMP instead of own tmp directory

onovy at users.alioth.debian.org onovy at users.alioth.debian.org
Wed Aug 3 20:11:35 UTC 2016


The following commit has been merged in the master branch:
commit 8467ded06c748931018c8cfe7fb18d129d67a434
Author: Ondřej Nový <onovy at debian.org>
Date:   Wed Aug 3 21:26:34 2016 +0200

    autopkgtest: Use $ADTTMP instead of own tmp directory

diff --git a/debian/tests/encode-testimage b/debian/tests/encode-testimage
index 5f97716..c42c57f 100755
--- a/debian/tests/encode-testimage
+++ b/debian/tests/encode-testimage
@@ -4,9 +4,7 @@
 
 set -e
 
-WORKDIR=$(mktemp -d)
-trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
-cd $WORKDIR
+cd "$ADTTMP"
 
 ffmpeg -y -filter_complex testsrc -t 10 in.avi
 x264 --crf 24 -o out.mkv in.avi

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list