Skip to content

seccomp: add test for loading old JSON format#41499

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:seccomp_test_updates
Sep 28, 2020
Merged

seccomp: add test for loading old JSON format#41499
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:seccomp_test_updates

Conversation

@thaJeztah
Copy link
Member

Commit 5ff21ad (#24510) changed the (JSON) format that's used for seccomp profiles, but keeping the code backward compatible to allow both the old or new format.

This patch adds a new test, which loads the old format. It takes the default seccomp profile before the format was changed.

- A picture of a cute animal (not mandatory but encouraged)

Commit 5ff21ad changed the (JSON) format that's
used for seccomp profiles, but keeping the code backward compatible to allow both
the old or new format.

This patch adds a new test, which loads the old format. It takes the default seccomp
profile before the format was changed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

Failure is unrelated; power and s390x machines are flaky

@thaJeztah thaJeztah merged commit 410b4da into moby:master Sep 28, 2020
@thaJeztah thaJeztah deleted the seccomp_test_updates branch September 28, 2020 19:40
@thaJeztah thaJeztah added this to the 20.03.0 milestone Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants