jvirkki / dupd

CLI utility to find duplicate files
http://www.virkki.com/dupd
GNU General Public License v3.0
112 stars 16 forks source link

Test 72 fails when ran as root #20

Closed Freaky closed 6 years ago

Freaky commented 6 years ago

Test 72 tests the result of chmoding files 000, which obviously root can bypass. In this event the test should ideally be skipped.

While testing as root is obviously to be discouraged, as a packager I would often be running it as root inside a jail environment.

jvirkki commented 6 years ago

I'd figured I'll need a smarter exclude/ignore tagging mechanism sooner or later, I guess it's now.

jvirkki commented 6 years ago

Failures can now be ignored when running as root. Applied to tests 72 & 73.