Skip to content

Commit a657b76

Browse files
committed
test: update / mount SOURCE checking case
SOURCE can be overlay, none or composefs Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent 714b77c commit a657b76

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/e2e/playbooks/check-system.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,16 @@
218218
command: findmnt -r -o SOURCE -n /
219219
register: result_root_mount_point
220220

221+
# overlay: as default
222+
# none: workaround issue https://gitlab.com/redhat/centos-stream/containers/bootc/-/issues/301
223+
# composefs: issue has been fixed by https://github.com/containers/composefs/pull/303
221224
- name: / mount point checking
222225
block:
223226
- assert:
224227
that:
225-
- result_root_mount_point.stdout == "overlay"
226-
fail_msg: "/ does not mount with overlay"
227-
success_msg: "/ mounts with overlay"
228+
- result_root_mount_point.stdout == "overlay" or result_root_mount_point.stdout == "none" or result_root_mount_point.stdout == "composefs"
229+
fail_msg: "/ does not mount with overlay or none or composefs"
230+
success_msg: "/ mounts with overlay or none or composefs"
228231
always:
229232
- set_fact:
230233
total_counter: "{{ total_counter | int + 1 }}"

0 commit comments

Comments
 (0)