diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-31 16:15:27 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-09-08 09:40:35 -0400 |
commit | c7802cf5cfea8ca62a4342f1793fce5a5d22362c (patch) | |
tree | c3432966a93e4ff3fe8d9c8d80c70c82d676eea7 /tests/test_data | |
parent | 5824cd5d3bddf39e0382d568419e2453abc93d8a (diff) | |
download | sos-c7802cf5cfea8ca62a4342f1793fce5a5d22362c.tar.gz |
[tests] Allow StageTwo to place files with different names
Up until now the `files` attr for Stage Two tests was simply a list that
dropped files of the same name from our `tests/test_data/` directory
into the relevant paths on the test system. This however limited us to
single copies of files within this directory.
Instead, also allow `files` to take a list of tuples in the form of
`(source_path, dest_path)` so that we may have multiple copies of say
`sos.conf` within `tests/test_data` for different test cases while still
being able to temporarily override the test system's actual
`/etc/sos/sos.conf`.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/test_data')
0 files changed, 0 insertions, 0 deletions