Message ID | 20220520083627.2499121-2-liwang@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | two follow up fix for Introduce-of-max-runtime | expand |
Hi! This should be ammended to the "fuzzy_sync: Convert to runtime" patch.
> This should be ammended to the "fuzzy_sync: Convert to runtime" patch. > Yes, that would be better. Feel free to merge into that one.
diff --git a/testcases/cve/cve-2014-0196.c b/testcases/cve/cve-2014-0196.c index 012cbb7cd..1937d566c 100644 --- a/testcases/cve/cve-2014-0196.c +++ b/testcases/cve/cve-2014-0196.c @@ -141,6 +141,7 @@ static struct tst_test test = { .setup = setup, .cleanup = cleanup, .test_all = run, + .max_runtime = 60, .tags = (const struct tst_tag[]) { {"linux-git", "4291086b1f08"}, {"CVE", "2014-0196"}, diff --git a/testcases/cve/cve-2016-7117.c b/testcases/cve/cve-2016-7117.c index dca002924..64bf0a85e 100644 --- a/testcases/cve/cve-2016-7117.c +++ b/testcases/cve/cve-2016-7117.c @@ -150,6 +150,7 @@ static struct tst_test test = { .setup = setup, .cleanup = cleanup, .min_kver = "2.6.33", + .max_runtime = 60, .tags = (const struct tst_tag[]) { {"linux-git", "a2e2725541fa"}, {"CVE", "2016-7117"}, diff --git a/testcases/cve/cve-2017-2671.c b/testcases/cve/cve-2017-2671.c index e72795d15..e17cd9765 100644 --- a/testcases/cve/cve-2017-2671.c +++ b/testcases/cve/cve-2017-2671.c @@ -109,6 +109,7 @@ static struct tst_test test = { .test_all = run, .cleanup = cleanup, .needs_root = 1, + .max_runtime = 20, .tags = (const struct tst_tag[]) { {"linux-git", "43a6684519ab"}, {"CVE", "2017-2671"}, diff --git a/testcases/network/can/cve/can_bcm01.c b/testcases/network/can/cve/can_bcm01.c index d4f1e4ec4..79a827cfa 100644 --- a/testcases/network/can/cve/can_bcm01.c +++ b/testcases/network/can/cve/can_bcm01.c @@ -142,6 +142,7 @@ static struct tst_test test = { .taint_check = TST_TAINT_W | TST_TAINT_D, .needs_root = 1, .skip_in_compat = 1, + .max_runtime = 30, .needs_drivers = (const char *const[]) { "vcan", "can-bcm", diff --git a/testcases/network/packet/fanout01.c b/testcases/network/packet/fanout01.c index 5067d83a8..0aad3321b 100644 --- a/testcases/network/packet/fanout01.c +++ b/testcases/network/packet/fanout01.c @@ -106,6 +106,7 @@ static struct tst_test test = { .test_all = run, .cleanup = cleanup, .needs_root = 1, + .max_runtime = 180, .tags = (const struct tst_tag[]) { {"CVE", "2017-15649"}, {"linux-git", "4971613c1639"}, diff --git a/testcases/network/sockets/vsock01.c b/testcases/network/sockets/vsock01.c index a168e4401..1e688df19 100644 --- a/testcases/network/sockets/vsock01.c +++ b/testcases/network/sockets/vsock01.c @@ -111,6 +111,7 @@ static struct tst_test test = { .setup = setup, .cleanup = cleanup, .taint_check = TST_TAINT_W | TST_TAINT_D, + .max_runtime = 60, .needs_kconfigs = (const char *[]) { "CONFIG_VSOCKETS_LOOPBACK", NULL
If test using the fzsync lib framework, it has to be set with .max_runtime. Signed-off-by: Li Wang <liwang@redhat.com> --- testcases/cve/cve-2014-0196.c | 1 + testcases/cve/cve-2016-7117.c | 1 + testcases/cve/cve-2017-2671.c | 1 + testcases/network/can/cve/can_bcm01.c | 1 + testcases/network/packet/fanout01.c | 1 + testcases/network/sockets/vsock01.c | 1 + 6 files changed, 6 insertions(+)