Skip to content

Commit ec32997

Browse files
committed
test: update invalid cross arch test error msg
The error message on mismatch of `--target-arch` with the actual container has changed (for the better) so we need to update the test for this.
1 parent 29e4572 commit ec32997

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_manifest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def test_manifest_cross_arch_check(tmp_path, build_container):
153153
"manifest", "--target-arch=aarch64",
154154
f"localhost/{container_tag}"
155155
], check=True, capture_output=True, encoding="utf8")
156-
assert 'cannot generate manifest: invalid arch: aarch64' in exc.value.stderr
156+
assert ('cannot generate manifest: requested bootc arch "aarch64" '
157+
'does not match available arches [x86_64]') in exc.value.stderr
157158

158159

159160
def find_rootfs_type_from(manifest_str):

0 commit comments

Comments
 (0)