diff options
author | Pino Toscano <pino@debian.org> | 2015-12-19 12:09:18 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-19 12:51:10 +0100 |
commit | dbbe1e6393dab381db0f48b2a645babdddb14eca (patch) | |
tree | a7fa6a42dc93be4c1479200183c3fc3212d6fc84 /cmdline/apt-sortpkgs.cc | |
parent | 493e032a9dcccb19dca87c542a067d759213f566 (diff) |
Fix FileUtlTest.GetTempDir failure when run as root
Testing /usr as TMPDIR assumes that GetTempDir() cannot use it
because it cannot write to it; this is true for non-root users, but
not so much for root.
Since root can access everything, perform this particular test case
only when not running as root.
Closes: #808383
Diffstat (limited to 'cmdline/apt-sortpkgs.cc')
0 files changed, 0 insertions, 0 deletions