Skip to content

Commit 1ed5fa1

Browse files
committed
debug
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 3b91eca commit 1ed5fa1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libcontainer/integration/checkpoint_test.go

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ func testCheckpoint(t *testing.T, userns bool) {
4848

4949
config := newTemplateConfig(t, &tParam{userns: userns})
5050
stateDir := t.TempDir()
51+
defer func() {
52+
out, err := exec.Command("fuser", "-vm", stateDir+"/dev").CombinedOutput()
53+
t.Logf("%s", out)
54+
if err != nil {
55+
t.Logf("exec: %v", err)
56+
}
57+
}()
5158

5259
container, err := libcontainer.Create(stateDir, "test", config)
5360
ok(t, err)

0 commit comments

Comments
 (0)