mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
run_kernel() appended KUnit flags directly to the caller-provided args
list. When exec_tests() calls run_kernel() repeatedly (e.g. with
--run_isolated), each call mutated the same list, causing later runs
to inherit stale filter_glob values and duplicate kunit.enable flags.
Fix this by copying args at the start of run_kernel(). Add a regression
test that calls run_kernel() twice with the same list and verifies the
original remains unchanged.
Fixes:
|
||
|---|---|---|
| .. | ||
| configs | ||
| qemu_configs | ||
| test_data | ||
| .gitignore | ||
| kunit-completion.sh | ||
| kunit.py | ||
| kunit_config.py | ||
| kunit_json.py | ||
| kunit_kernel.py | ||
| kunit_parser.py | ||
| kunit_printer.py | ||
| kunit_tool_test.py | ||
| mypy.ini | ||
| qemu_config.py | ||
| run_checks.py | ||