test/cases: rename output-format to image-type
Bring this in line with our naming convention. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
fa015a70f6
commit
a949843f1e
19 changed files with 31 additions and 31 deletions
|
|
@ -16,7 +16,7 @@ This script generates a json test case. It accepts a test_case_request as input
|
|||
"compose-request": {
|
||||
"distro": "fedora-30",
|
||||
"arch": "x86_64",
|
||||
"output-format": "qcow2",
|
||||
"image-type": "qcow2",
|
||||
"filename": "disk.qcow2",
|
||||
"blueprint": {}
|
||||
}
|
||||
|
|
@ -38,10 +38,10 @@ def main(test_case, store):
|
|||
|
||||
blueprint = json.dumps(compose_request["blueprint"])
|
||||
|
||||
pipeline_command = ["go", "run", "./cmd/osbuild-pipeline", "-distro", compose_request["distro"], "-arch", compose_request["arch"], "-image-type", compose_request["output-format"], "-"]
|
||||
pipeline_command = ["go", "run", "./cmd/osbuild-pipeline", "-distro", compose_request["distro"], "-arch", compose_request["arch"], "-image-type", compose_request["image-type"], "-"]
|
||||
test_case["manifest"] = json.loads(subprocess.check_output(pipeline_command, input=blueprint, encoding="utf-8"))
|
||||
|
||||
pipeline_command = ["go", "run", "./cmd/osbuild-pipeline", "-distro", compose_request["distro"], "-arch", compose_request["arch"], "-image-type", compose_request["output-format"], "-rpmmd", "-"]
|
||||
pipeline_command = ["go", "run", "./cmd/osbuild-pipeline", "-distro", compose_request["distro"], "-arch", compose_request["arch"], "-image-type", compose_request["image-type"], "-rpmmd", "-"]
|
||||
test_case["rpmmd"] = json.loads(subprocess.check_output(pipeline_command, input=blueprint, encoding="utf-8"))
|
||||
|
||||
if boot_type != "nspawn-extract":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue