Merge pull request #21665 from cyphar/bump-runc
vendor: bump runc to 2441732d6fcc0fb0a542671a4372e0c7bc99c19e Upstream-commit: 60821fe288ce1c53fdf5ab553b9f1d4571f1ec11 Component: engine
This commit is contained in:
@@ -26,6 +26,7 @@ import (
|
||||
"github.com/docker/libnetwork/netutils"
|
||||
"github.com/docker/libnetwork/resolvconf"
|
||||
"github.com/go-check/check"
|
||||
libcontainerUser "github.com/opencontainers/runc/libcontainer/user"
|
||||
)
|
||||
|
||||
// "test123" should be printed by docker run
|
||||
@@ -707,7 +708,7 @@ func (s *DockerSuite) TestRunUserByIDBig(c *check.C) {
|
||||
if err == nil {
|
||||
c.Fatal("No error, but must be.", out)
|
||||
}
|
||||
if !strings.Contains(out, "Uids and gids must be in range") {
|
||||
if !strings.Contains(out, libcontainerUser.ErrRange.Error()) {
|
||||
c.Fatalf("expected error about uids range, got %s", out)
|
||||
}
|
||||
}
|
||||
@@ -720,7 +721,7 @@ func (s *DockerSuite) TestRunUserByIDNegative(c *check.C) {
|
||||
if err == nil {
|
||||
c.Fatal("No error, but must be.", out)
|
||||
}
|
||||
if !strings.Contains(out, "Uids and gids must be in range") {
|
||||
if !strings.Contains(out, libcontainerUser.ErrRange.Error()) {
|
||||
c.Fatalf("expected error about uids range, got %s", out)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user