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

cron_allow01: Don't try and guess the allow file path, just try both. #192

Closed
wants to merge 1 commit into from

Conversation

dannf
Copy link

@dannf dannf commented Aug 3, 2017

This test currently assumes that only RedHat systems use /etc/cron.allow,
and everything else uses /var/spool/cron/allow. This isn't true - Debian
and derivatives also use /etc/cron.allow, so this test currently fails
(See:
#136 (comment))

Instead of keeping a mapping of distro/allow file path, let's just try both.

This test currently assumes that only RedHat systems use /etc/cron.allow,
and everything else uses /var/spool/cron/allow. This isn't true - Debian
and derivatives also use /etc/cron.allow, so this test currently fails
(See:
 linux-test-project#136 (comment))

Instead of keeping a mapping of distro/allow file path, let's just try both.
@lucasrangit
Copy link
Contributor

Hi @dannf , I also have a patch for this pending in PR #169 . My approach avoids guessing the path, which should make maintenance easier. Let me know what you think.

@metan-ucw
Copy link
Member

The cron tests have been removed in 0fc9b86, hence closing, thanks for the PR anyway.

@metan-ucw metan-ucw closed this Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants