helper/pathorcontents: Skip one test when root
helper/pathorcontents: Skip one test when root

One of the tests in this package doesn't work when the tests are run as
root - like inside of a Docker container. The test is still useful to
specify `pathorcontents` behavior when a file is not readable, so it's
better to skip than just delete it. See linked issue for further
disussion.

Closes #7707

VladRassokhin/terraform,luis-silva/terraform,apparentlymart/terraform,iljaskevic/terraform,hashicorp/terraform,heimweh/terraform,tommynsong/terraform,brandontosch/terraform,rnaveiras/terraform,ewbankkit/terraform,pradeepbhadani/terraform,donaldguy/terraform,mattray/terraform,mattray/terraform,mattray/terraform,pryorda/terraform,nlamirault/terraform,kl4w/terraform,apparentlymart/terraform,donaldguy/terraform,drebes/terraform,heimweh/terraform,pryorda/terraform,VladRassokhin/terraform,VladRassokhin/terraform,drebes/terraform,iljaskevic/terraform,tpounds/terraform,hashicorp/terraform,tommynsong/terraform,youhong316/terraform,tommynsong/terraform,gechr/terraform,heimweh/terraform,iljaskevic/terraform,tpounds/terraform,gechr/terraform,luis-silva/terraform,ewbankkit/terraform,VladRassokhin/terraform,nlamirault/terraform,pradeepbhadani/terraform,drebes/terraform,gechr/terraform,donaldguy/terraform,tpounds/terraform,drebes/terraform,apparentlymart/terraform,luis-silva/terraform,pdecat/terraform,hashicorp/terraform,rnaveiras/terraform,kl4w/terraform,nlamirault/terraform,pdecat/terraform,brandontosch/terraform,kl4w/terraform,youhong316/terraform,iljaskevic/terraform,rnaveiras/terraform,brandontosch/terraform,donaldguy/terraform,apparentlymart/terraform,heimweh/terraform,pradeepbhadani/terraform,heimweh/terraform,luis-silva/terraform,brandontosch/terraform,tpounds/terraform,apparentlymart/terraform,brandontosch/terraform,pdecat/terraform,pryorda/terraform,kl4w/terraform,ewbankkit/terraform,pdecat/terraform,mattray/terraform,youhong316/terraform,youhong316/terraform,ewbankkit/terraform