diff --git a/test/data/sources/org.osbuild.curl/cases/empty.json b/test/data/sources/org.osbuild.curl/cases/empty.json index dc9ae3e0..b54f1896 100644 --- a/test/data/sources/org.osbuild.curl/cases/empty.json +++ b/test/data/sources/org.osbuild.curl/cases/empty.json @@ -1,6 +1,6 @@ { "expects": "success", "org.osbuild.curl": { - "items": {} + "items": {} } } diff --git a/test/data/stages/chown/diff.json b/test/data/stages/chown/diff.json index cb10a756..76ccdd56 100644 --- a/test/data/stages/chown/diff.json +++ b/test/data/stages/chown/diff.json @@ -2,11 +2,49 @@ "added_files": [], "deleted_files": [], "differences": { - "/testfile1": {"uid": [0, 2000]}, - "/testfile2": {"gid": [0, 3000]}, - "/testfile3": {"uid": [0, 2000], "gid": [0, 3000]}, - "/testfile4": {"uid": [0, 2000]}, - "/testfile5": {"gid": [0, 3000]}, - "/testfile6": {"uid": [0, 2000], "gid": [0, 3000]} + "/testfile1": { + "uid": [ + 0, + 2000 + ] + }, + "/testfile2": { + "gid": [ + 0, + 3000 + ] + }, + "/testfile3": { + "uid": [ + 0, + 2000 + ], + "gid": [ + 0, + 3000 + ] + }, + "/testfile4": { + "uid": [ + 0, + 2000 + ] + }, + "/testfile5": { + "gid": [ + 0, + 3000 + ] + }, + "/testfile6": { + "uid": [ + 0, + 2000 + ], + "gid": [ + 0, + 3000 + ] + } } } diff --git a/test/data/stages/groups/diff.json b/test/data/stages/groups/diff.json index 33127862..df22de94 100644 --- a/test/data/stages/groups/diff.json +++ b/test/data/stages/groups/diff.json @@ -1,5 +1,9 @@ { - "added_files": ["/etc/.pwd.lock", "/etc/group-", "/etc/gshadow-"], + "added_files": [ + "/etc/.pwd.lock", + "/etc/group-", + "/etc/gshadow-" + ], "deleted_files": [], "differences": { "/etc/group": { diff --git a/test/data/stages/kernel-cmdline/diff.json b/test/data/stages/kernel-cmdline/diff.json index 23e9d32f..f2f7947e 100644 --- a/test/data/stages/kernel-cmdline/diff.json +++ b/test/data/stages/kernel-cmdline/diff.json @@ -1,5 +1,7 @@ { - "added_files": ["/etc/kernel/cmdline"], + "added_files": [ + "/etc/kernel/cmdline" + ], "deleted_files": [], "differences": {} } diff --git a/test/data/stages/nginx.conf/diff.json b/test/data/stages/nginx.conf/diff.json index a9fa1a44..4148941b 100644 --- a/test/data/stages/nginx.conf/diff.json +++ b/test/data/stages/nginx.conf/diff.json @@ -1,5 +1,7 @@ { - "added_files": ["/etc/nginx-test.conf"], + "added_files": [ + "/etc/nginx-test.conf" + ], "deleted_files": [], "differences": {} } diff --git a/test/data/stages/parted/disk.img.json b/test/data/stages/parted/disk.img.json index f472ebad..940eff77 100644 --- a/test/data/stages/parted/disk.img.json +++ b/test/data/stages/parted/disk.img.json @@ -1,15 +1,39 @@ { - "partitiontable": { - "label":"gpt", - "unit":"sectors", - "firstlba":34, - "lastlba":20971486, - "sectorsize":512, - "partitions": [ - {"node":"disk.img1", "start":2048, "size":1024000, "type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B", "name":"EFI System Partition"}, - {"node":"disk.img2", "start":1026048, "size":1024000, "type":"0FC63DAF-8483-4772-8E79-3D69D8477DE4", "name":"boot"}, - {"node":"disk.img3", "start":2050048, "size":4096, "type":"21686148-6449-6E6F-744E-656564454649", "name":"BIOS boot"}, - {"node":"disk.img4", "start":2054144, "size":18917343, "type":"E6D6D379-F507-44C2-A23C-238F2A3DF928", "name":"LVM"} - ] - } -} \ No newline at end of file + "partitiontable": { + "label": "gpt", + "unit": "sectors", + "firstlba": 34, + "lastlba": 20971486, + "sectorsize": 512, + "partitions": [ + { + "node": "disk.img1", + "start": 2048, + "size": 1024000, + "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", + "name": "EFI System Partition" + }, + { + "node": "disk.img2", + "start": 1026048, + "size": 1024000, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "name": "boot" + }, + { + "node": "disk.img3", + "start": 2050048, + "size": 4096, + "type": "21686148-6449-6E6F-744E-656564454649", + "name": "BIOS boot" + }, + { + "node": "disk.img4", + "start": 2054144, + "size": 18917343, + "type": "E6D6D379-F507-44C2-A23C-238F2A3DF928", + "name": "LVM" + } + ] + } +} diff --git a/test/data/stages/qemu/checks.json b/test/data/stages/qemu/checks.json index 2ca37112..9ca2c5b8 100644 --- a/test/data/stages/qemu/checks.json +++ b/test/data/stages/qemu/checks.json @@ -7,7 +7,7 @@ "format-specific": { "type": "qcow2", "data": { - "compat": "1.1" + "compat": "1.1" } } }, diff --git a/test/data/stages/rhsm/diff.json b/test/data/stages/rhsm/diff.json index 201be720..63ba55b3 100644 --- a/test/data/stages/rhsm/diff.json +++ b/test/data/stages/rhsm/diff.json @@ -12,8 +12,8 @@ "content": [ "sha256:84c1c0c956a492cadbfd2cec581ef678c190e3e245f0d61665eb0f66b8b34fd6", "sha256:f57b424b10afd7ef2d3e14e1fbe7871d51b5ece812d63f223d51210d822cef8f" - ] - }, + ] + }, "/etc/rhsm/rhsm.conf": { "content": [ "sha256:57e2bee5a30283ee95f3da2d5945f1d5852f1a4ed6900d22afd8f6a5ee5e5a11", diff --git a/test/data/stages/shell.init/diff.json b/test/data/stages/shell.init/diff.json index f026b298..294fe1b9 100644 --- a/test/data/stages/shell.init/diff.json +++ b/test/data/stages/shell.init/diff.json @@ -1,5 +1,8 @@ { - "added_files": ["/etc/profile.d/test_env", "/etc/profile.d/test_env.2"], + "added_files": [ + "/etc/profile.d/test_env", + "/etc/profile.d/test_env.2" + ], "deleted_files": [], "differences": {} } diff --git a/test/data/stages/tuned/diff.json b/test/data/stages/tuned/diff.json index 599a7e42..67ad22b1 100644 --- a/test/data/stages/tuned/diff.json +++ b/test/data/stages/tuned/diff.json @@ -3,12 +3,16 @@ "deleted_files": [], "differences": { "/etc/tuned/active_profile": { - "content": ["sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "sha256:2ca746dd0d43746fcb08fc6b215f98d7d8c1a95dceb4495608962df2697f621e"] + "content": [ + "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "sha256:2ca746dd0d43746fcb08fc6b215f98d7d8c1a95dceb4495608962df2697f621e" + ] }, "/etc/tuned/profile_mode": { - "content": ["sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "sha256:cd60ed2fa8c947cb05cb57b23884dea9390e4b6aec0add666e69bf842fc68da0"] + "content": [ + "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "sha256:cd60ed2fa8c947cb05cb57b23884dea9390e4b6aec0add666e69bf842fc68da0" + ] } } } diff --git a/test/data/stages/zipl/diff.json b/test/data/stages/zipl/diff.json index fc2766ef..2ba818a0 100644 --- a/test/data/stages/zipl/diff.json +++ b/test/data/stages/zipl/diff.json @@ -1,5 +1,7 @@ { - "added_files": [ "/etc/zipl.conf" ], + "added_files": [ + "/etc/zipl.conf" + ], "deleted_files": [], "differences": {} }