Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generify unchanged ctime tests #87

Open
saidsay-so opened this issue Aug 5, 2022 · 1 comment
Open

Generify unchanged ctime tests #87

saidsay-so opened this issue Aug 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@saidsay-so
Copy link
Owner

It would be possible to write this test without root privileges like this:

  • Create directory
  • Create file in that directory
  • chmod 555 the directory
  • assert_ctime_unchanged(|| unlink(dir/file)) # Should fail with EACCES

but since our focus right now is on converting pjdfstest, not improving it, it's ok to defer this for after GSoC

Originally posted by @asomers in #86 (comment)

@saidsay-so
Copy link
Owner Author

saidsay-so commented Aug 5, 2022

I will postpone this for whenever I have enough time, but that would definitely allow reducing the number of privileged tests.

@saidsay-so saidsay-so added the enhancement New feature or request label Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant