Skip to content

Commit 291fbd7

Browse files
committed
wip tests
1 parent 0f0442d commit 291fbd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tmt/tests/booted/test-install-unified-flag.nu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ use tap.nu
22

33
def main [] {
44
tap begin "install help shows experimental unified flag"
5-
let help = (bootc install --help)
5+
# The flag is defined on install subcommands (e.g. to-filesystem), not the top-level install help
6+
let help = (bootc install to-filesystem --help)
67
# Grep-like check in nushell
78
let has = ($help | lines | any { |l| $l | str contains "--experimental-unified-storage" })
89
if (not $has) {

tmt/tests/booted/test-switch-to-unified.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def first_boot [] {
2020
# Verify bootc-owned store is usable
2121
podman --storage-opt=additionalimagestore=/usr/lib/bootc/storage images
2222
# Stage a no-op upgrade to exercise the unified path; tolerate no-update
23-
bootc upgrade || true
23+
try { bootc upgrade }
2424
tmt-reboot
2525
}
2626

0 commit comments

Comments
 (0)