Commit 8354f1a4 authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: snapshot etc recursively

Everything in etc can be interesting while investigating issues in
test, also it should not be too big.
parent fe162b7d
...@@ -293,14 +293,13 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -293,14 +293,13 @@ class SlapOSInstanceTestCase(unittest.TestCase):
_test_file_snapshot_directory = "" # directory to save snapshot files for inspections _test_file_snapshot_directory = "" # directory to save snapshot files for inspections
# patterns of files to save for inspection, relative to instance directory # patterns of files to save for inspection, relative to instance directory
_save_instance_file_pattern_list = ( _save_instance_file_pattern_list = (
'etc/supervisord.conf',
'etc/supervisord.conf.d/*',
'*/bin/*', '*/bin/*',
'*/etc/*', '*/etc/*',
'*/var/log/*', '*/var/log/*',
'*/.*log', '*/.*log',
'*/.*cfg', '*/.*cfg',
'*/*cfg', '*/*cfg',
'etc/',
) )
# Methods to be defined by subclasses. # Methods to be defined by subclasses.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment