[PATCH v2 1/3] testsuite/smokey/alchemytests: Fix garbage args in case no --vm option is passed
Jan Kiszka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <bc8fb708e3c7b78b78a7b598d615893e1e8c8ab2.1778234324.git.jan.kiszka@siemens.com> |
From: Jan Kiszka <[email protected]> We are no longer skipping over "--vm" here, args is only "--vm" by now. Fixes: 61fc9ff4b721 ("alchemytests: Set cpu-affinity by env var") Reported-by: Florian Bezdeka <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> --- testsuite/smokey/alchemytests/alchemytests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuite/smokey/alchemytests/alchemytests.c b/testsuite/smokey/alchemytests/alchemytests.c index edbafe6e71..b596a1e175 100644 --- a/testsuite/smokey/alchemytests/alchemytests.c +++ b/testsuite/smokey/alchemytests/alchemytests.c @@ -52,8 +52,7 @@ static int run_alchemytests(struct smokey_test *t, int argc, char *const argv[]) for (size_t i = 0; i < ARRAY_SIZE(tests); i++) { tmp = smokey_run_extprog(XENO_TEST_DIR, tests[i], - smokey_on_vm ? args : args + 5, - &test_ret); + smokey_on_vm ? args : NULL, &test_ret); if (test_ret) ret = test_ret; /* Return the last failed test result */ if (tmp) -- 2.47.3