)]}'
{
  "commit": "6c8d7984cb255eaee7549c3b770c111ae6b66596",
  "tree": "0610d32bb381a731b61e65eaddfb5de5fbe4f8e7",
  "parents": [
    "8891bffb532af056bea7d55c651f23abb0a1c06a"
  ],
  "author": {
    "name": "Shuvam Pandey",
    "email": "shuvampandey1@gmail.com",
    "time": "Thu Feb 26 21:14:10 2026 +0545"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Mar 13 17:20:40 2026 +0100"
  },
  "message": "kunit: tool: copy caller args in run_kernel to prevent mutation\n\n[ Upstream commit 40804c4974b8df2adab72f6475d343eaff72b7f6 ]\n\nrun_kernel() appended KUnit flags directly to the caller-provided args\nlist. When exec_tests() calls run_kernel() repeatedly (e.g. with\n--run_isolated), each call mutated the same list, causing later runs\nto inherit stale filter_glob values and duplicate kunit.enable flags.\n\nFix this by copying args at the start of run_kernel(). Add a regression\ntest that calls run_kernel() twice with the same list and verifies the\noriginal remains unchanged.\n\nFixes: ff9e09a3762f (\"kunit: tool: support running each suite/test separately\")\nSigned-off-by: Shuvam Pandey \u003cshuvampandey1@gmail.com\u003e\nReviewed-by: David Gow \u003cdavid@davidgow.net\u003e\nSigned-off-by: Shuah Khan \u003cskhan@linuxfoundation.org\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "61931c4926fd6645f2c62dd13f9842a432ec4167",
      "old_mode": 33188,
      "old_path": "tools/testing/kunit/kunit_kernel.py",
      "new_id": "12b0f2ee5665660573aa885e45812f75164d8450",
      "new_mode": 33188,
      "new_path": "tools/testing/kunit/kunit_kernel.py"
    },
    {
      "type": "modify",
      "old_id": "2beb7327e53fcb9f7d2eea9248022ef8eb6d9359",
      "old_mode": 33261,
      "old_path": "tools/testing/kunit/kunit_tool_test.py",
      "new_id": "70e5d0abe87f3ea2b8031a174902bdfc1266669c",
      "new_mode": 33261,
      "new_path": "tools/testing/kunit/kunit_tool_test.py"
    }
  ]
}
