Skip to content

Commit

Permalink
fix test test_build_basic_image_with_build_volumes
Browse files Browse the repository at this point in the history
Had to add :Z, SELinux

Signed-off-by: Tomas Tomecek <[email protected]>
  • Loading branch information
TomasTomecek committed Jun 9, 2022
1 parent 82d2b5e commit 7dc4587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/test_buildah.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_build_basic_image_with_build_volumes(tmpdir, target_image):
with open(os.path.join(real_tmp, "file.txt"), "w") as fd:
fd.write("Hello, hello!")
container_mount = "/asdqwe"
vol_spec = "%s:%s" % (real_tmp, container_mount)
vol_spec = "%s:%s:Z" % (real_tmp, container_mount)
cmd = ["build", "--build-volumes", vol_spec, "--",
basic_playbook_path_w_bv, base_image, target_image]
ab(cmd, str(tmpdir))
Expand Down

0 comments on commit 7dc4587

Please sign in to comment.