From b6574fbd3bbe37865d991f4eb594fe2e6ab900d9 Mon Sep 17 00:00:00 2001 From: Manabu Sugimoto Date: Mon, 10 Jul 2023 15:19:53 +0900 Subject: [PATCH] tests: add removing SH arch in tests/16-sim-arch `seccomp_arch_remove()` for `SCMP_ARCH_SH` is missing, so add it. Signed-off-by: Manabu Sugimoto --- tests/16-sim-arch_basic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/16-sim-arch_basic.c b/tests/16-sim-arch_basic.c index be269c99..5fdab474 100644 --- a/tests/16-sim-arch_basic.c +++ b/tests/16-sim-arch_basic.c @@ -171,6 +171,9 @@ int main(int argc, char *argv[]) rc = seccomp_arch_remove(ctx, SCMP_ARCH_RISCV64); if (rc != 0) goto out; + rc = seccomp_arch_remove(ctx, SCMP_ARCH_SH); + if (rc != 0) + goto out; out: seccomp_release(ctx);