Skip to content

Commit

Permalink
tests: add removing SH arch in tests/16-sim-arch
Browse files Browse the repository at this point in the history
`seccomp_arch_remove()` for `SCMP_ARCH_SH` is missing, so add it.

Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
  • Loading branch information
ManaSugi committed Jul 10, 2023
1 parent f1c3196 commit b6574fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/16-sim-arch_basic.c
Expand Up @@ -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);
Expand Down

0 comments on commit b6574fb

Please sign in to comment.