quattor / maven-tools

Maven-based Build Tools
www.quattor.org
Apache License 2.0
4 stars 13 forks source link

Problem with existing files, NoAction and set_caf_file_close_diff #67

Closed stdweird closed 8 years ago

stdweird commented 9 years ago

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

stdweird commented 8 years ago

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 https://github.com/quattor/release/issues/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

)