You've already forked runc
mirror of
https://github.com/opencontainers/runc.git
synced 2025-07-30 17:43:06 +03:00
integration: skip checkpoint tests if criu binary not found
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@ -60,6 +60,10 @@ func testCheckpoint(t *testing.T, userns bool) {
|
||||
return
|
||||
}
|
||||
|
||||
if _, err := exec.LookPath("criu"); err != nil {
|
||||
t.Skipf("criu binary not found: %v", err)
|
||||
}
|
||||
|
||||
root, err := newTestRoot()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user