saidsay-so / pjdfstest

File system test suite.
https://saidsay-so.github.io/pjdfstest/
Other
8 stars 1 forks source link

Convert chflags/09.t #136

Closed asomers closed 8 months ago

asomers commented 9 months ago

This test asserts that chflags will fail if securelevel=1 and certain flags are already set. Since it requires changing securelevel, we do it in a jail, using the jail-rs crate. Since we can't fork in a multithreaded program, we instead execute /bin/chflags within the jail.

Issue #10