diff --git a/tests/61-sim-transactions.c b/tests/61-sim-transactions.c index 40be1e75..da92a019 100644 --- a/tests/61-sim-transactions.c +++ b/tests/61-sim-transactions.c @@ -69,6 +69,22 @@ int main(int argc, char *argv[]) if (rc != 0) goto out; + if (i == 7) { + rc = seccomp_arch_add(ctx, SCMP_ARCH_S390); + if (rc != 0) + goto out; + } + if (i == 2) { + rc = seccomp_arch_add(ctx, SCMP_ARCH_S390X); + if (rc != 0) + goto out; + } + if (i == 8) { + rc = seccomp_arch_remove(ctx, SCMP_ARCH_S390X); + if (rc != 0) + goto out; + } + if (i % 5) { for (j = 0; j <= i; j++) { rc = seccomp_transaction_commit(ctx);