diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-03 15:26:13 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-04 09:00:27 -0400 |
commit | 86940b12297359ebe2761e068fa50e8607492409 (patch) | |
tree | d7f98f88bfd604fb8c65158cd68ad1558bfa7138 /tests/test_data | |
parent | 611b17788ee289bebfe3b13404fae73efd112f70 (diff) | |
download | sos-86940b12297359ebe2761e068fa50e8607492409.tar.gz |
[tests] Add test for cleaning and existing archive
Adds a test that ensures we are properly extracting and cleaning an
already existing archive (one is being included under tests/test_data/
now), much the same as we test for a proper `sos report --clean` run.
As part of this, some aspects of the `full_report_run.py` test are moved
into the base test classes, and the new `existing_archive.py` test will
explicitly run `sos clean` instead of `sos report`.
The included archive for obfuscation testing is taken from a stock
Fedora 34 VM with a known configuration which is reflected in the items
being tested for.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/test_data')
-rw-r--r-- | tests/test_data/sosreport-cleanertest-2021-08-03-qpkxdid.tar.xz | bin | 0 -> 10678112 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/test_data/sosreport-cleanertest-2021-08-03-qpkxdid.tar.xz b/tests/test_data/sosreport-cleanertest-2021-08-03-qpkxdid.tar.xz Binary files differnew file mode 100644 index 00000000..7d5fc6c2 --- /dev/null +++ b/tests/test_data/sosreport-cleanertest-2021-08-03-qpkxdid.tar.xz |