containerd/sys
Paul "TBBle" Hampson da7d96ba3f Clean up WCOW layers after tests in the correct order
This ensures that we do not trigger assertions inside HCS by tring to
call hcsshim.DestroyLayer on the parent of a currently-activated layer.

It also deactivates the layers before deletion, to ensure we trigger or
avert file-in-use failures due to leftover state from the tests with
more detail than 'destroy failed'.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2021-03-25 05:26:24 +11:00
..
reaper Integrate sys.SetSubreaper, sys.GetSubreaper in sys/reaper package 2020-05-04 08:44:02 +02:00
env.go Don't fail on setting -ve oom score when rootless 2018-05-04 17:06:01 +01:00
epoll.go sys: deprecate EpollCreate1, EpollCtl, EpollWait 2020-03-09 13:15:07 +01:00
fds.go Licence header added 2018-02-19 10:32:26 +09:00
filesys_unix.go Windows:Create root/state with ACL 2019-03-21 18:47:34 -07:00
filesys_windows.go Clean up WCOW layers after tests in the correct order 2021-03-25 05:26:24 +11:00
filesys.go Move isFifo from process/io to sys/ and make public 2020-03-25 10:44:17 -04:00
mount_linux_test.go Replace errors.Cause() with errors.Is() 2020-05-08 14:36:45 +02:00
mount_linux.go sys/mount_linux: use pipe for communicating mount result 2020-04-09 09:50:41 +10:00
oom_linux_test.go Fix oom tests on non Linux 2021-03-23 11:57:24 -07:00
oom_linux.go Fix oom tests on non Linux 2021-03-23 11:57:24 -07:00
oom_unsupported.go Fix oom tests on non Linux 2021-03-23 11:57:24 -07:00
socket_unix.go sys: mkdirAs: do chown if dir already exists 2019-12-18 14:19:19 +09:00
socket_windows.go Licence header added 2018-02-19 10:32:26 +09:00
stat_bsd.go Add support for NetBSD 2020-09-22 20:03:50 +02:00
stat_openbsd.go Bring OpenBSD support 2021-01-04 14:43:48 +01:00
stat_unix.go Licence header added 2018-02-19 10:32:26 +09:00
subprocess_unsafe_linux.go Support >= 128 layers in overlayfs snapshots 2018-08-07 10:59:36 +08:00
subprocess_unsafe_linux.s Support >= 128 layers in overlayfs snapshots 2018-08-07 10:59:36 +08:00
userns_deprecated.go Move RunningInUserNS() to its own package 2021-03-23 11:29:53 +01:00