diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-09-23 15:47:44 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-09-23 15:47:44 +0200 |
commit | db1d1c32149177c0b6ca49e5107ab1f5fd364660 (patch) | |
tree | b06b22a9c92455b32889c88407f4190113a5cdd9 /test/integration/run-tests | |
parent | 916b89109cd77728004819d4705778e3dc489b2e (diff) | |
parent | c511c5e8ed3f59ddee1b174b39e5cc16a2f11922 (diff) |
Merge remote-tracking branch 'upstream/debian/experimental' into feature/acq-trans
Conflicts:
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
methods/copy.cc
test/integration/test-hashsum-verification
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-x | test/integration/run-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests index 9dd550aa2..c39a2ac68 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -22,7 +22,7 @@ done export MSGLEVEL="${MSGLEVEL:-3}" if [ "$MSGCOLOR" != 'NO' ]; then - if ! expr match "$(readlink -f /proc/$$/fd/1)" '/dev/pts/[0-9]\+' > /dev/null; then + if [ ! -t 1 ]; then # but check that we output to a terminal export MSGCOLOR='NO' fi fi |