Repository navigation
Commit eba4990
composefs: Fix test that only fails with fs-verity
test_fresh_policy_replacement_preserves_objects wrote a sentinel to
objects/ without creating the directory, but composefs-rs creates
objects/ lazily. On filesystems without fs-verity (e.g. tmpfs/overlay
in CI) the test returned early before reaching this point, so the bug
went unnoticed until the Fedora Koji %check ran on a verity-capable
filesystem and failed with ENOENT.
Create the directory before writing the sentinel.
Assisted-by: AI
Signed-off-by: John Eckersberg <dev@eckersberg.com>1 parent 82b2f90 commit eba4990
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
| 817 | + | |
816 | 818 | | |
817 | 819 | | |
818 | 820 | | |
| |||
0 commit comments