From bdc42211700ef0f6f40e4ef3f362e52d684d70fb Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 9 Jun 2016 20:41:58 +0200 Subject: do not hang on piped input in PipedFileFdPrivate This effects only compressors configured on the fly (rather then the inbuilt ones as they use a library). --- test/integration/test-apt-helper-cat-file | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 test/integration/test-apt-helper-cat-file (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 new file mode 100755 index 000000000..f7c94a2b4 --- /dev/null +++ b/test/integration/test-apt-helper-cat-file @@ -0,0 +1,30 @@ +#!/bin/sh +set -e + +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" +setupenvironment + +cat >rootdir/etc/apt/apt.conf.d/rev-as-compressor <./test.txt <