Commit 1f28c8d1 authored by Martin Pitt's avatar Martin Pitt

testsuite, pg_virtualenv: Don't fail if ifconfig is not installed. We

don't require it as a dependency, and this breaks e. g. autopkgtests in
minimal environments.
parent 4af81adb
postgresql-common (153) UNRELEASED; urgency=medium postgresql-common (153) UNRELEASED; urgency=medium
[ Christoph Berg ]
* Replace the static logrotate configuration by generating the file * Replace the static logrotate configuration by generating the file
dynamically using ucf, triggered by watching /usr/sbin/logrotate. dynamically using ucf, triggered by watching /usr/sbin/logrotate.
This eases dist-upgrades that upgrade logrotate to >= 3.8 from an older This eases dist-upgrades that upgrade logrotate to >= 3.8 from an older
...@@ -9,6 +10,11 @@ postgresql-common (153) UNRELEASED; urgency=medium ...@@ -9,6 +10,11 @@ postgresql-common (153) UNRELEASED; urgency=medium
* t/003_package_checks.t: Add test case for logrotate. * t/003_package_checks.t: Add test case for logrotate.
* t/020_create_sql_remove.t: Make pipe writes unbuffered. * t/020_create_sql_remove.t: Make pipe writes unbuffered.
[ Martin Pitt ]
* testsuite, pg_virtualenv: Don't fail if ifconfig is not installed. We
don't require it as a dependency, and this breaks e. g. autopkgtests in
minimal environments.
-- Christoph Berg <christoph.berg@credativ.de> Thu, 09 Jan 2014 12:49:19 +0100 -- Christoph Berg <christoph.berg@credativ.de> Thu, 09 Jan 2014 12:49:19 +0100
postgresql-common (152) unstable; urgency=low postgresql-common (152) unstable; urgency=low
......
...@@ -136,7 +136,7 @@ else ...@@ -136,7 +136,7 @@ else
fi fi
# start localhost interface # start localhost interface
ifconfig lo up ifconfig lo up || true
fi fi
# create postgres environments # create postgres environments
......
...@@ -104,7 +104,7 @@ chmod 2775 /var/run/postgresql ...@@ -104,7 +104,7 @@ chmod 2775 /var/run/postgresql
ulimit -S -c 0 ulimit -S -c 0
# start localhost interface # start localhost interface
ifconfig lo up ifconfig lo up || true
# set environment # set environment
unset TMPDIR unset TMPDIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment