From 4bd8964b23f616a1aef63ea0acebbdc4b6ea90e6 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 22 May 2019 13:18:10 +0200 Subject: [PATCH] Update TestRunWithDaemonDefaultSeccompProfile for ARM64 `chmod` is a legacy syscall, and not present on arm64, which caused this test to fail. Add `fchmodat` to the profile so that this test can run both on x64 and arm64. Signed-off-by: Sebastiaan van Stijn --- integration-cli/docker_cli_run_unix_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration-cli/docker_cli_run_unix_test.go b/integration-cli/docker_cli_run_unix_test.go index e1c501e3b2..67d6a9a992 100644 --- a/integration-cli/docker_cli_run_unix_test.go +++ b/integration-cli/docker_cli_run_unix_test.go @@ -1544,6 +1544,10 @@ func (s *DockerDaemonSuite) TestRunWithDaemonDefaultSeccompProfile(c *check.C) { { "name": "chmod", "action": "SCMP_ACT_ERRNO" + }, + { + "name": "fchmodat", + "action": "SCMP_ACT_ERRNO" } ] }`