1
0
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:
Akihiro Suda
2020-06-03 14:13:39 +09:00
parent b2163040db
commit bd236e50a5

View File

@ -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)