Commit | Line | Data |
---|---|---|
4de89c11 MJ |
1 | /* |
2 | * SPDX-License-Identifier: GPL-2.0-or-later | |
3 | * | |
4 | * Copyright (C) 2022 Michael Jeanson <mjeanson@efficios.com> | |
5 | */ | |
6 | ||
7 | #include <stdio.h> | |
8 | ||
9 | #include "tap.h" | |
10 | ||
11 | #include "compat-smp.h" | |
12 | ||
13 | int main(void) | |
14 | { | |
15 | int ret; | |
16 | ||
17 | plan_tests(2); | |
18 | ||
19 | ret = get_possible_cpus_array_len(); | |
20 | ok(ret > 0, "get_possible_cpus_array_len (%d > 0)", ret); | |
21 | ||
22 | ret = get_num_possible_cpus_fallback(); | |
23 | ok(ret > 0, "get_num_possible_cpus_fallback (%d > 0)", ret); | |
24 | ||
25 | return exit_status(); | |
26 | } |