From ce1665d68670530e2b13d0c8ec274ddd4ec05994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Wed, 22 Apr 2020 02:00:01 +0000 Subject: [PATCH] sched_getcpu: add missing ncpus for tests --- path_properties.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/path_properties.py b/path_properties.py index f34de8e..00a5bdd 100644 --- a/path_properties.py +++ b/path_properties.py @@ -750,7 +750,10 @@ path_properties_tuples = ( 'more_than_1s': True, 'requires_syscall_getcpu': True, }, - 'sched_getcpu.c': {'requires_syscall_getcpu': True}, + 'sched_getcpu.c': { + 'requires_syscall_getcpu': True, + 'test_run_args': {'cpus': 2}, + }, 'time_boot.c': {'requires_sudo': True}, 'virt_to_phys_user.c': {'requires_argument': True}, }