Adjust tests in case running as root
commit80ff4c7530e9b01afa896423fa025f15fe91cb4a
authorMats Wichmann <mats@linux.com>
Sun, 6 Oct 2024 17:34:37 +0000 (6 11:34 -0600)
committerMats Wichmann <mats@linux.com>
Sat, 19 Oct 2024 14:25:14 +0000 (19 08:25 -0600)
tree756fc950159ca568bf1691343e8dae4a2ebad0bd
parentcc8ea0f91830a0a4d1ae5582343df58cc1bb126b
Adjust tests in case running as root

Although validation tests are not normally run as root, there may be
cicrumstances when it happens - one known case is when the test suite
is run as part of a particular Linux distros package construction.
It isn't too hard to avoid the few places where we counted on something
failing because of permissions, which don't if the user is root -
added a few skips.

Signed-off-by: Mats Wichmann <mats@linux.com>
CHANGES.txt
RELEASE.txt
SCons/CacheDirTests.py
SCons/Node/FSTests.py
SCons/Variables/PathVariableTests.py
template/RELEASE.txt
test/Install/Install.py
test/VariantDir/errors.py
testing/framework/TestCmd.py