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

Problem with existing files, NoAction and set_caf_file_close_diff #67

Closed
stdweird opened this issue Oct 16, 2015 · 1 comment
Closed
Milestone

Comments

@stdweird
Copy link
Member

set_caf_file_close_diff, aNoAction and tests on files that actually exist give unexpected results. (e.g. the autofs issue in quattor/release#115)

@stdweird stdweird added this to the 15.10 milestone Oct 16, 2015
@jrha jrha modified the milestones: 16.2, 15.12 Dec 2, 2015
@stdweird stdweird mentioned this issue Dec 9, 2015
@stdweird stdweird modified the milestones: 15.12, 16.2 Dec 9, 2015
@stdweird
Copy link
Member Author

stdweird commented Dec 9, 2015

When a mocked file is actually present, it results in an additional diff command being run compared to a run in an environment where the file is not present.
The failing test in quattor/release#115 was testing for anything related to the autofs service using the autofs pattern while searching any command, but the pattern also partially matched the diffed filename (with #69, the output shows

command_history_ok command pattern 'autofs'  index 0 (full command diff -u /etc/autofs.conf -); continue

)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants