Package: cupt Version: 2.9.4 Followup-For: Bug #819605 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu xenial ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Unset APT_CONFIG to fix testsuite under newer sbuild (Closes: #819605) Should be self-explanatory. Thanks for considering the patch. ... Adam -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-20-lowlatency (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru cupt-2.9.4/test/TestCupt.pm cupt-2.9.4ubuntu1/test/TestCupt.pm --- cupt-2.9.4/test/TestCupt.pm 2016-02-14 05:37:21.000000000 -0700 +++ cupt-2.9.4ubuntu1/test/TestCupt.pm 2016-04-16 16:10:07.000000000 -0600 @@ -134,6 +134,7 @@ $pre_conf =~ s/<dir>/$cwd/g; generate_file('pre.conf', $pre_conf); + $ENV{'APT_CONFIG'} = ''; $ENV{'CUPT_PRE_CONFIG'} = "./pre.conf"; generate_file(get_extended_states_path(), $options{'extended_states'}//'');