summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorPino Toscano <pino@debian.org>2015-12-19 12:09:18 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-19 12:51:10 +0100
commitdbbe1e6393dab381db0f48b2a645babdddb14eca (patch)
treea7fa6a42dc93be4c1479200183c3fc3212d6fc84 /apt-pkg/pkgcachegen.cc
parent493e032a9dcccb19dca87c542a067d759213f566 (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 'apt-pkg/pkgcachegen.cc')
0 files changed, 0 insertions, 0 deletions