diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-09-07 19:30:33 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-07 19:30:33 +0200 |
commit | 27cb4f6c919921b04f3dddff069620ced250a94f (patch) | |
tree | 38dafdf86c4a6a64797611b25a0ccdadbb10c659 /apt-pkg/pkgcache.cc | |
parent | e9bb097c914ff4fb1cdeda8a2843644dca184c56 (diff) |
detect terminal output with 'test -t' in tests
Instead of trying to inspect /proc and the fds inside we use "test -t 1"
instead as this is available and working on kfreebsd as well – not that
something breaks if we wouldn't, but we like color.
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/pkgcache.cc')
0 files changed, 0 insertions, 0 deletions