debian-forge/test/run
Tomáš Hozza 66301ae5c3 test/sgdisk: delete sectorsize from expected data if not in output
The `sfdisk` tool on RHEL-8 does not include the `sectorsize` in its
output when we are testing the `sgdisk` stage. As a result, the test
case fails, because the expected and actual output differs. Modify the
test to delete the `sectorsize` key from the expected output if it is
not present in the actual output.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-30 12:05:33 +02:00
..
__init__.py test: '{. -> ./run}/test_sources.py' 2020-04-24 15:50:44 +02:00
test_assemblers.py Test: some tests depending on rpm-ostree were not checking its presence 2023-04-28 22:02:35 +02:00
test_boot.py test: explicit encodings for open() 2022-09-09 15:33:29 +02:00
test_devices.py loop: use LOOP_CONFIGURE instead of LOOP_SET_FD 2023-05-05 15:42:47 +02:00
test_executable.py test: fix executable test 2022-02-15 13:25:23 +00:00
test_mount.py Don't use capture_output=True with subprocess.run() 2023-04-26 11:43:13 +02:00
test_noop.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
test_sources.py Don't use directory argument with SimpleHTTPRequestHandler constructor 2023-04-26 11:43:13 +02:00
test_stages.py test/sgdisk: delete sectorsize from expected data if not in output 2023-05-30 12:05:33 +02:00