From 6f35be91c9e86e463bca7df6eadf05412c7b732c Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 9 Jun 2016 21:06:48 +0200 Subject: don't leak an FD in lz4 (de)compression Seen first in #826783, but as this buglog also shows leaked uncompressed files as well we don't close it just yet. --- test/integration/test-apt-helper-cat-file | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test/integration/test-apt-helper-cat-file') diff --git a/test/integration/test-apt-helper-cat-file b/test/integration/test-apt-helper-cat-file index f7c94a2b4..3f509189e 100755 --- a/test/integration/test-apt-helper-cat-file +++ b/test/integration/test-apt-helper-cat-file @@ -5,6 +5,15 @@ TESTDIR="$(readlink -f "$(dirname "$0")")" . "$TESTDIR/framework" setupenvironment +TESTTOOL="${BUILDDIRECTORY}/test_fileutl" +msgtest 'Check if we have build the test tool' "$TESTTOOL" +if [ -x "$TESTTOOL" ]; then + msgpass +else + msgskip 'not available' + exit 0 +fi + cat >rootdir/etc/apt/apt.conf.d/rev-as-compressor <