From: Michael Vogt Date: Mon, 5 Nov 2012 10:31:29 +0000 (+0100) Subject: add testcase for the autoremove feature X-Git-Tag: 0.9.15.3~9 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e5bdcc8708ee571a7d7d54bbdfa7e226300344ea?hp=--cc add testcase for the autoremove feature Conflicts: debian/apt.auto-removal.sh --- e5bdcc8708ee571a7d7d54bbdfa7e226300344ea diff --git a/test/integration/test-kernel-helper-autoremove b/test/integration/test-kernel-helper-autoremove new file mode 100755 index 000000000..a4c31283e --- /dev/null +++ b/test/integration/test-kernel-helper-autoremove @@ -0,0 +1,33 @@ +#!/bin/sh + +set -e + +# setup testdir +TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework + +TMPDIR=$(mktemp -d) +cd $TMPDIR +addtrap "cd /; rm -rf $TMPDIR" + +# create mock environment +mkdir apt.conf.d +cat > aptconfig.conf <