Closed stdweird closed 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
)
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)