summaryrefslogtreecommitdiff
path: root/backport-temporarily-disable-test-seccomp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backport-temporarily-disable-test-seccomp.patch')
-rw-r--r--backport-temporarily-disable-test-seccomp.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/backport-temporarily-disable-test-seccomp.patch b/backport-temporarily-disable-test-seccomp.patch
new file mode 100644
index 0000000..6af53ba
--- /dev/null
+++ b/backport-temporarily-disable-test-seccomp.patch
@@ -0,0 +1,24 @@
+From 03a991c00674787d649240adda11f2506f2fcedc Mon Sep 17 00:00:00 2001
+From: xujing <xujing99@huawei.com>
+Date: Tue, 22 Feb 2022 20:33:40 +0800
+Subject: [PATCH] temporarily disable test-seccomp
+
+---
+ src/test/test-seccomp.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
+index 2d06098..a95deb8 100644
+--- a/src/test/test-seccomp.c
++++ b/src/test/test-seccomp.c
+@@ -1199,4 +1199,6 @@ TEST(restrict_suid_sgid) {
+ assert_se(wait_for_terminate_and_check("suidsgidseccomp", pid, WAIT_LOG) == EXIT_SUCCESS);
+ }
+
+-DEFINE_TEST_MAIN(LOG_DEBUG);
++int main(int argc, char *argv[]) {
++ return 77;
++}
+--
+2.33.0
+