Skip to content

Commit

Permalink
tinker with overlay tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Sep 23, 2024
1 parent ac02e96 commit 06d204c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testing/test_bins/create_rename_delete_file_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ int main()

cleanup:
// Clean up directories created by child
CHECK(umount2(ovl_mountpoint, MNT_FORCE), -1);

// in the 5.10 test kernels, this umount call fails, so don't check.
// Can't reproduce the issue locally, but `unmount` operations on overlayfs have historically
// been quirky.
umount2(ovl_mountpoint, MNT_FORCE);
CHECK(rm_recursive(ovl_mountpoint), -1);
CHECK(rm_recursive(ovl_upperdir), -1);
CHECK(rm_recursive(ovl_lowerdir), -1);
Expand Down

0 comments on commit 06d204c

Please sign in to comment.