Commit 4b2f94d9 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 2310a3b6
...@@ -292,8 +292,6 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -292,8 +292,6 @@ 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/*',
'*/etc/service/*', '*/etc/service/*',
...@@ -302,6 +300,7 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -302,6 +300,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
'*/.*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