We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88fcfd commit 36854dcCopy full SHA for 36854dc
tests/booted/test-image-pushpull-upgrade.nu
@@ -46,8 +46,16 @@ RUN echo test content > /usr/share/blah.txt
46
# Just sanity check it
47
let v = podman run --rm localhost/bootc-derived cat /usr/share/blah.txt | str trim
48
assert equal $v "test content"
49
+
50
+ let orig_root_mtime = ls -Dl /ostree/bootc | get modified
51
52
# Now, fetch it back into the bootc storage!
53
bootc switch --transport containers-storage localhost/bootc-derived
54
55
+ # Also test that the mtime changes on modification
56
+ let new_root_mtime = ls -Dl /ostree/bootc | get modified
57
+ assert ($new_root_mtime > $orig_root_mtime)
58
59
# And reboot into it
60
tmt-reboot
61
}
0 commit comments